Skip to content

Commit f4b77fe

Browse files
authored
Only push docker image on push or tag (#288)
1 parent 4c06888 commit f4b77fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
with:
172172
context: .
173173
file: docker/Dockerfile
174-
push: ${{ github.event_name != 'pull_request' }}
174+
push: ${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' }}
175175
platforms: linux/amd64,linux/arm64
176176
tags: ${{ steps.meta.outputs.tags }}
177177
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)