Skip to content

Commit afc740d

Browse files
committed
fix: tags => heads
1 parent 13dadf5 commit afc740d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-build.yaml

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

0 commit comments

Comments
 (0)