Skip to content

Commit

Permalink
fix: tags => heads
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu committed Mar 12, 2024
1 parent 13dadf5 commit afc740d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- name: Should push?
id: shoudPush
run: |
if [[ ${{ github.event.ref }} =~ ^refs/tags/php[0-9]dot[0-9]$ ]]; then
if [[ ${{ github.event.ref }} =~ ^refs/heads/php[0-9]dot[0-9]$ ]]; then
echo "match=true" >> $GITHUB_OUTPUT
elif [[ ${{ github.event.ref }} = "master" ]]; then
elif [[ ${{ github.event.ref }} = "refs/heads/master" ]]; then
echo "match=true" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit afc740d

Please sign in to comment.