Skip to content

Commit 1a4a73b

Browse files
committed
ci: only runs docker-image on master
1 parent 9d5cee7 commit 1a4a73b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: docker-image
22

33
on:
44
push:
5-
branches: '*'
5+
branches: 'master'
66
tags: '*'
77

88
jobs:
@@ -20,6 +20,7 @@ jobs:
2020
password: ${{ secrets.CR_PAT }}
2121

2222
- uses: docker/build-push-action@v2
23+
if: github.ref == 'refs/heads/master'
2324
with:
2425
push: true
2526
tags: |

0 commit comments

Comments
 (0)