fix: Replace invalid docker tag characters with underscore

This commit is contained in:
Vincent Mahnke 2025-10-25 17:44:59 +02:00 committed by Vincent Mahnke
commit 9cf8cffee4

View file

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