Skip to content

Fix docker-build.yml typo #8

Fix docker-build.yml typo

Fix docker-build.yml typo #8

Workflow file for this run

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