Skip to content

Commit f1eecc4

Browse files
committed
Merge branch 'php8dot1' into php8dot2
2 parents 41065ce + a5aa18b commit f1eecc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
- name: Should push?
3333
id: shoudPush
3434
run: |
35-
if [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]$ ]]; then
35+
if [[ ${{ github.event.ref }} = "refs/heads/master" ]]; then
3636
echo "match=true" >> $GITHUB_OUTPUT
37-
if [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]-mongodb$ ]]; then
37+
elif [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]$ ]]; then
3838
echo "match=true" >> $GITHUB_OUTPUT
39-
elif [[ ${{ github.event.ref }} = "refs/heads/master" ]]; then
39+
elif [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]-mongodb$ ]]; then
4040
echo "match=true" >> $GITHUB_OUTPUT
4141
fi
4242

0 commit comments

Comments
 (0)