Lowercase Docker image owner and name in workflow #13
@@ -150,6 +150,10 @@ jobs:
|
|||||||
FINAL_NAME="$IMAGE_NAME_CFG"
|
FINAL_NAME="$IMAGE_NAME_CFG"
|
||||||
fi
|
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)
|
# Construct the full image reference (without tag)
|
||||||
IMAGE_REF="${REGISTRY_HOST}/${FINAL_OWNER}/${FINAL_NAME}"
|
IMAGE_REF="${REGISTRY_HOST}/${FINAL_OWNER}/${FINAL_NAME}"
|
||||||
echo "Image reference: ${IMAGE_REF}:<tag>"
|
echo "Image reference: ${IMAGE_REF}:<tag>"
|
||||||
|
|||||||
Reference in New Issue
Block a user