From a762706c3460c45938df4c1c2a62d54042b2f513 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Sat, 29 Jun 2024 15:25:12 -0400 Subject: [PATCH] fix Signed-off-by: Yuri Shkuro --- .github/workflows/build-and-publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 67c2d78..3c3c4ed 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -49,12 +49,10 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and maybe push Docker image - # TODO remove next line - if: github.event_name != 'pull_request' uses: docker/build-push-action@v6 with: push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }} - load: github.event_name == 'pull_request' + load: true tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} context: .