ci: lowercase the image path #2

Merged
k.renner merged 1 commits from fix/release-image-lowercase into main 2026-09-24 10:25:05 +00:00
+2 -1
View File
@@ -14,7 +14,8 @@ steps:
commands:
- mkdir -p /kaniko/.docker
- REGISTRY=$${CI_FORGE_URL#*://}
- IMAGE="$$REGISTRY/$$CI_REPO"
# Registry paths are lowercase; the repository is konairius/Wiki.
- IMAGE=$(printf '%s/%s' "$$REGISTRY" "$$CI_REPO" | tr 'A-Z' 'a-z')
# The repo owner is an organisation; the registry login is the bot in its Bots team.
- AUTH=$(printf "%s" "claude-bot:$GITEA_TOKEN" | base64 -w0)
- printf '{"auths":{"%s":{"auth":"%s"}}}' "$$REGISTRY" "$AUTH" > /kaniko/.docker/config.json