diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0273ba..52fb8a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -on: [push, release] +on: [release] jobs: test: @@ -6,7 +6,7 @@ jobs: publish: runs-on: ubuntu-20.04 - # needs: test + needs: test steps: - name: Login to GitHub Container Registry uses: docker/login-action@v1 @@ -23,8 +23,8 @@ jobs: type=semver,pattern={{raw}} type=raw,value=latest,enable={{is_default_branch}} - run: echo ${{ steps.meta.outputs.tags }} - # - name: Build and push Docker image - # uses: docker/build-push-action@v2 - # with: - # push: true - # tags: ${{ steps.meta.outputs.tags }} + - name: Build and push Docker image + uses: docker/build-push-action@v2 + with: + push: true + tags: ${{ steps.meta.outputs.tags }}