ci: lowercase the image path; the repository name carries a capital
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir -p /kaniko/.docker
|
- mkdir -p /kaniko/.docker
|
||||||
- REGISTRY=$${CI_FORGE_URL#*://}
|
- 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.
|
# 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)
|
- AUTH=$(printf "%s" "claude-bot:$GITEA_TOKEN" | base64 -w0)
|
||||||
- printf '{"auths":{"%s":{"auth":"%s"}}}' "$$REGISTRY" "$AUTH" > /kaniko/.docker/config.json
|
- printf '{"auths":{"%s":{"auth":"%s"}}}' "$$REGISTRY" "$AUTH" > /kaniko/.docker/config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user