diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8a6d66..9d3225f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,12 @@ on: jobs: push_to_registry: - name: Push Docker image to Docker Hub + name: Push Docker image runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Log in to Docker Hub uses: docker/login-action@v1 with: @@ -30,9 +33,10 @@ jobs: - name: Build and push Docker image id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v1 with: context: . push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + tags: | + milesial/unet:latest + ghcr.io/milesial/unet:latest