We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c3028 commit a5aa18bCopy full SHA for a5aa18b
.github/workflows/docker-build.yaml
@@ -32,11 +32,11 @@ jobs:
32
- name: Should push?
33
id: shoudPush
34
run: |
35
- if [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]$ ]]; then
+ if [[ ${{ github.event.ref }} = "refs/heads/master" ]]; then
36
echo "match=true" >> $GITHUB_OUTPUT
37
- if [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]-mongodb$ ]]; then
+ elif [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]$ ]]; then
38
39
- elif [[ ${{ github.event.ref }} = "refs/heads/master" ]]; then
+ elif [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]-mongodb$ ]]; then
40
41
fi
42
0 commit comments