Skip to content

Commit 6769ec0

Browse files
🔨 Add condition for publishing image in github action
1 parent 2cb42db commit 6769ec0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_container.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- name: Publish image
7272
id: push
7373
uses: docker/build-push-action@v4
74+
if: github.event_name == 'pull_request' && github.event.action == 'closed'
7475
with:
7576
push: true
7677
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)