Skip to content

Commit

Permalink
[TAG]v4-new
Browse files Browse the repository at this point in the history
remove else clause (empty tag defaults to latest anyway?)
  • Loading branch information
SandroBarillaPXL committed Oct 3, 2024
1 parent ca9f33b commit b2226c8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ 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
echo "TAG2: $TAG"
fi
echo "TAG: $TAG"
#source: https://chatgpt.com/share/66fe5874-6410-8009-ab95-d2fe9956a708

- name: Login to Docker Hub
Expand Down

0 comments on commit b2226c8

Please sign in to comment.