Fix tr character range in version tag sanitizing
build-and-push / build (push) Successful in 59s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
benjaminandClaude Sonnet 5.5 committed 2026-11-10 13:14:47 +01:00
1 parent 8561d0a1e6
commit c36cc10dc2
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ jobs:
VERSION=$(docker image inspect "$REGISTRY/$IMAGE_NAME:latest" \ VERSION=$(docker image inspect "$REGISTRY/$IMAGE_NAME:latest" \
--format '{{ index .Config.Labels "org.opencontainers.image.version" }}' || true) --format '{{ index .Config.Labels "org.opencontainers.image.version" }}' || true)
# Plex versions look like 1.41.3.9314-a0bfb8370-ls250; keep it tag-safe. # Plex versions look like 1.41.3.9314-a0bfb8370-ls250; keep it tag-safe.
VERSION=$(echo "$VERSION" | tr -c 'A-Za-z0-9._-\n' '-') VERSION=$(echo "$VERSION" | tr -c 'A-Za-z0-9._\n-' '-')
TAGS="latest base-${{ steps.check.outputs.short }}" TAGS="latest base-${{ steps.check.outputs.short }}"
[ -n "$VERSION" ] && TAGS="$TAGS $VERSION" [ -n "$VERSION" ] && TAGS="$TAGS $VERSION"
for t in $TAGS; do for t in $TAGS; do