fix(workflow): repo needed a fully localcase name for docker push
Build and Push Docker Image / build-and-push (push) Failing after 28m15s
Build and Push Docker Image / build-and-push (push) Failing after 28m15s
This commit is contained in:
@@ -25,8 +25,12 @@ jobs:
|
||||
# Extract repository name without owner
|
||||
REPO_NAME_ONLY=$(echo "$REPO_NAME" | cut -d'/' -f2)
|
||||
|
||||
# Convert to lowercase for Docker registry compatibility
|
||||
REPO_OWNER_LOWER=$(echo "$REPO_OWNER" | tr '[:upper:]' '[:lower:]')
|
||||
REPO_NAME_LOWER=$(echo "$REPO_NAME_ONLY" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
# Base image path
|
||||
IMAGE_BASE="${REGISTRY}/${REPO_OWNER}/${REPO_NAME_ONLY}"
|
||||
IMAGE_BASE="${REGISTRY}/${REPO_OWNER_LOWER}/${REPO_NAME_LOWER}"
|
||||
|
||||
# Determine tag based on ref
|
||||
if [[ "${{ gitea.ref }}" == refs/tags/* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user