Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Jun 29, 2024
1 parent 5e000c9 commit a762706
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down

0 comments on commit a762706

Please sign in to comment.