forked from kamba4/sunders
fix: Replace invalid docker tag characters with underscore
This commit is contained in:
parent
b3a38df17a
commit
31dcb9900d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue