Fix docker-build.yml typo #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build | |
on: | |
push: | |
branches: | |
- master | |
- docker | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: | | |
docker build -t groundgan:latest -f docker/Dockerfile . | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_UNAME }} | |
password: ${{ secrets.DOCKER_PASS }} | |
- name: Push Docker image | |
run: | | |
docker tag groundgan:latest yazdanz/groundgan:latest | |
docker push yazdanz/groundgan:latest |