[c] modify workflow if-statement to work in SH
All checks were successful
Build and push docker image / deploy (push) Successful in 42s

This commit is contained in:
Sangelo 2024-04-03 12:46:25 +02:00
parent 88950724c9
commit 4ecf1f1de6

View file

@ -42,7 +42,7 @@ jobs:
docker push "gitpot.dev/sangelo/website:${TAG}"
# publish tag latest as well
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
if echo "${{ github.ref }}" | grep -q "refs/tags/"; then
docker tag "gitpot.dev/sangelo/website:${TAG}" "gitpot.dev/sangelo/website:latest"
docker push "gitpot.dev/sangelo/website:latest"
fi