Skip to content

Commit ec0ccc9

Browse files
authored
Merge pull request #51 from laradock/bestlong-patch-2
Adjustment GitHub CI
2 parents c0d4b9c + 5440618 commit ec0ccc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 2 deletions
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: '**'
66
tags: '**'
77
schedule:
88
- cron: 0 0 * * 6
@@ -27,7 +27,7 @@ jobs:
2727
docker image ls
2828
2929
- name: Push image to Docker hub
30-
if: success()
30+
if: ${{ success() && (github.ref == 'refs/heads/master') }}
3131
env:
3232
PHP_VERSION: ${{ matrix.php_version }}
3333
run: |

0 commit comments

Comments
 (0)