From f0381301bbdfdff28f22a61590c1d80ee5375b15 Mon Sep 17 00:00:00 2001 From: milesial Date: Wed, 18 Aug 2021 00:26:11 +0200 Subject: [PATCH] Fix actions Former-commit-id: e9e1884fb7728e622357ec0ce1705fa2c845248c --- .github/workflows/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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