Skip to content

Commit 7abe04d

Browse files
committed
Only push image on master
1 parent f870ee2 commit 7abe04d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docker-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
4343
- name: Build and push
4444
uses: docker/build-push-action@v5
45+
if: github.ref == 'refs/heads/master'
4546
with:
4647
context: .
4748
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)