ci: lowercase image repository
Normalize github.repository to lowercase before composing Docker image tags so Gitea registry references stay valid on the runner. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -59,6 +59,7 @@ jobs:
|
||||
REGISTRY_HOST="${REGISTRY_HOST#https://}"
|
||||
REGISTRY_HOST="${REGISTRY_HOST%/}"
|
||||
REPOSITORY_PATH="${RAW_REPOSITORY#/}"
|
||||
REPOSITORY_PATH="$(printf '%s' "$REPOSITORY_PATH" | tr '[:upper:]' '[:lower:]')"
|
||||
IMAGE_NAME="${REGISTRY_HOST}/${REPOSITORY_PATH}"
|
||||
case "$IMAGE_TAG" in
|
||||
*-test) IS_TEST_TAG=true ;;
|
||||
|
||||
Reference in New Issue
Block a user