From e031c549e50a64820889d5d53fb8b4a8b7fe6c21 Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Fri, 10 Jul 2026 12:58:29 +0200 Subject: [PATCH] Fix CI image registry owner to match Gitea org slug. Use LilleVemmelund instead of lille-vemmelund so container registry pushes resolve the correct namespace. Co-authored-by: Cursor --- .gitea/workflows/ci-image.yml | 2 +- docs/ci-image.md | 8 ++++---- scripts/ci/build-ci-image.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci-image.yml b/.gitea/workflows/ci-image.yml index 7b720ea..829f886 100644 --- a/.gitea/workflows/ci-image.yml +++ b/.gitea/workflows/ci-image.yml @@ -17,7 +17,7 @@ on: env: REGISTRY: gitea.lille-vemmelund.dk REGISTRY_USER: ci-bot - IMAGE: gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci + IMAGE: gitea.lille-vemmelund.dk/LilleVemmelund/python-repositories-ci jobs: build-and-push: diff --git a/docs/ci-image.md b/docs/ci-image.md index 7f10290..5ce43a7 100644 --- a/docs/ci-image.md +++ b/docs/ci-image.md @@ -16,8 +16,8 @@ Built from [`docker/ci/Dockerfile`](../docker/ci/Dockerfile): Published to the Gitea container registry: -- `gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci:latest` -- `gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci:YYYYMMDDHHmm` (timestamped rollback tag) +- `gitea.lille-vemmelund.dk/LilleVemmelund/python-repositories-ci:latest` +- `gitea.lille-vemmelund.dk/LilleVemmelund/python-repositories-ci:YYYYMMDDHHmm` (timestamped rollback tag) ## Rebuild triggers @@ -108,7 +108,7 @@ homelab-platform [`platform/gitea-runners/values.yaml`](https://gitea.lille-vemmelund.dk/LilleVemmelund/homelab-platform/src/branch/main/platform/gitea-runners/values.yaml): ```yaml -python-repositories-ci:docker://gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci:latest +python-repositories-ci:docker://gitea.lille-vemmelund.dk/LilleVemmelund/python-repositories-ci:latest ``` After label changes, roll runner pods so they re-register with Gitea. @@ -137,7 +137,7 @@ bash scripts/ci/build-ci-image.sh --push ``` Run from the repo root on the branch you want to test. Runners pull -`gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci:latest` from the registry; +`gitea.lille-vemmelund.dk/LilleVemmelund/python-repositories-ci:latest` from the registry; they do not care which git branch built it. Override registry settings if needed: diff --git a/scripts/ci/build-ci-image.sh b/scripts/ci/build-ci-image.sh index 6000e56..cf17833 100755 --- a/scripts/ci/build-ci-image.sh +++ b/scripts/ci/build-ci-image.sh @@ -15,7 +15,7 @@ # Optional overrides: # REGISTRY=gitea.lille-vemmelund.dk # REGISTRY_USER=ci-bot -# IMAGE_OWNER=lille-vemmelund +# IMAGE_OWNER=LilleVemmelund # IMAGE_NAME=python-repositories-ci set -euo pipefail @@ -24,7 +24,7 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)" REGISTRY="${REGISTRY:-gitea.lille-vemmelund.dk}" REGISTRY_USER="${REGISTRY_USER:-ci-bot}" -IMAGE_OWNER="${IMAGE_OWNER:-lille-vemmelund}" +IMAGE_OWNER="${IMAGE_OWNER:-LilleVemmelund}" IMAGE_NAME="${IMAGE_NAME:-python-repositories-ci}" IMAGE="${IMAGE:-${REGISTRY}/${IMAGE_OWNER}/${IMAGE_NAME}}"