Compare commits

...

2 commits

Author SHA1 Message Date
b6aa38467a Excludes tag= from replacement
All checks were successful
Build (and tag) Images / build (push) Successful in 48s
Build (and tag) Images / build (pull_request) Successful in 47s
2025-10-25 17:51:09 +02:00
31dcb9900d fix: Replace invalid docker tag characters with underscore
Some checks failed
Build (and tag) Images / build (push) Failing after 21s
Build (and tag) Images / build (pull_request) Failing after 20s
2025-10-25 17:44:59 +02:00

View file

@ -28,7 +28,8 @@ jobs:
if [ "${{ github.ref_name }}" = "main" ] && [ "${{ github.event_name }}" = "push" ]; then if [ "${{ github.ref_name }}" = "main" ] && [ "${{ github.event_name }}" = "push" ]; then
echo "tag=latest" >> $GITHUB_OUTPUT echo "tag=latest" >> $GITHUB_OUTPUT
else else
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT # renovate creates sub branches with `/`; these break the tagging in the build process
echo tag=$(echo "${{ github.ref_name }}" | sed 's/[^a-zA-Z0-9._-]/_/g') >> $GITHUB_OUTPUT
fi fi
- name: Build web image - name: Build web image