Lowercase Docker image owner and name in workflow
This commit is contained in:
@@ -150,6 +150,10 @@ jobs:
|
||||
FINAL_NAME="$IMAGE_NAME_CFG"
|
||||
fi
|
||||
|
||||
# Docker requires all image references to be lowercase
|
||||
FINAL_OWNER="$(echo "$FINAL_OWNER" | tr '[:upper:]' '[:lower:]')"
|
||||
FINAL_NAME="$(echo "$FINAL_NAME" | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
# Construct the full image reference (without tag)
|
||||
IMAGE_REF="${REGISTRY_HOST}/${FINAL_OWNER}/${FINAL_NAME}"
|
||||
echo "Image reference: ${IMAGE_REF}:<tag>"
|
||||
|
||||
Reference in New Issue
Block a user