Skip to content

Commit 78ff416

Browse files
Update docker-image.yml
1 parent 6079f45 commit 78ff416

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.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 CI
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "master", "develop" ]
66
pull_request:
77
branches: [ "master" ]
88

@@ -28,6 +28,7 @@ jobs:
2828
username: ${{ secrets.DOCKER_USERNAME }}
2929
password: ${{ secrets.DOCKER_PASSWORD }}
3030
- name: Build and push
31+
if: github.ref_name == "master"
3132
uses: docker/build-push-action@v5
3233
with:
3334
context: .

0 commit comments

Comments
 (0)