From 76de945acc9f0a219f53ae7e636bd67c4a0dd15e Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Fri, 6 Mar 2026 01:30:28 +0000 Subject: [PATCH] fix(workflow): repo needed a fully localcase name for docker push --- .gitea/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ab7b9d4..5f49c4d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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