Skip to content

Merge pull request #60 from traveltime-dev/change/make-host-mandatory #30

Merge pull request #60 from traveltime-dev/change/make-host-mandatory

Merge pull request #60 from traveltime-dev/change/make-host-mandatory #30

Workflow file for this run

name: Docker Image
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
docker build -t igeolise/traveltime-k6-benchmarks:${GITHUB_SHA::7} -t igeolise/traveltime-k6-benchmarks:latest .
- name: Login to DockerHub
run: docker login -u '${{secrets.DOCKER_HUB_USER}}' -p '${{secrets.DOCKER_HUB_PASSWORD}}'
- name: Push Docker
run: |
docker push igeolise/traveltime-k6-benchmarks:${GITHUB_SHA::7}
docker push igeolise/traveltime-k6-benchmarks:latest