Skip to content

Commit

Permalink
add checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroBarillaPXL committed Oct 3, 2024
1 parent 443cc0e commit ca9f33b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
if [[ "$COMMIT_MSG" == "[TAG]"* ]]; then
TAG=$(echo $COMMIT_MSG | grep -oP '(?<=\[TAG\])\S+')
echo "TAG=$TAG" >> $GITHUB_ENV
echo "TAG1: $TAG"
else
echo "TAG=latest" >> $GITHUB_ENV
fi
echo "TAG: $TAG"
echo "TAG2: $TAG"
fi
#source: https://chatgpt.com/share/66fe5874-6410-8009-ab95-d2fe9956a708

- name: Login to Docker Hub
Expand Down

0 comments on commit ca9f33b

Please sign in to comment.