Merge pull request 'Fix CI image registry owner to match Gitea org slug' (#44) from cursor/fix-ci-registry-owner-case into main
Release on merge to main / release (push) Successful in 8s
Test Python Package / unit-tests (push) Successful in 14s
Code Quality Pipeline / code-quality (push) Successful in 30s
Test Python Package / integration-tests (push) Successful in 59s
Test Python Package / coverage-report (push) Successful in 39s

Reviewed-on: LilleVemmelund/python-repositories#44
This commit was merged in pull request #44.
This commit is contained in:
2026-07-10 13:01:33 +02:00
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ on:
env: env:
REGISTRY: gitea.lille-vemmelund.dk REGISTRY: gitea.lille-vemmelund.dk
REGISTRY_USER: ci-bot REGISTRY_USER: ci-bot
IMAGE: gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci IMAGE: gitea.lille-vemmelund.dk/LilleVemmelund/python-repositories-ci
jobs: jobs:
build-and-push: build-and-push:
+4 -4
View File
@@ -16,8 +16,8 @@ Built from [`docker/ci/Dockerfile`](../docker/ci/Dockerfile):
Published to the Gitea container registry: Published to the Gitea container registry:
- `gitea.lille-vemmelund.dk/lille-vemmelund/python-repositories-ci:latest` - `gitea.lille-vemmelund.dk/LilleVemmelund/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:YYYYMMDDHHmm` (timestamped rollback tag)
## Rebuild triggers ## 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): [`platform/gitea-runners/values.yaml`](https://gitea.lille-vemmelund.dk/LilleVemmelund/homelab-platform/src/branch/main/platform/gitea-runners/values.yaml):
```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. 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 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. they do not care which git branch built it.
Override registry settings if needed: Override registry settings if needed:
+2 -2
View File
@@ -15,7 +15,7 @@
# Optional overrides: # Optional overrides:
# REGISTRY=gitea.lille-vemmelund.dk # REGISTRY=gitea.lille-vemmelund.dk
# REGISTRY_USER=ci-bot # REGISTRY_USER=ci-bot
# IMAGE_OWNER=lille-vemmelund # IMAGE_OWNER=LilleVemmelund
# IMAGE_NAME=python-repositories-ci # IMAGE_NAME=python-repositories-ci
set -euo pipefail set -euo pipefail
@@ -24,7 +24,7 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
REGISTRY="${REGISTRY:-gitea.lille-vemmelund.dk}" REGISTRY="${REGISTRY:-gitea.lille-vemmelund.dk}"
REGISTRY_USER="${REGISTRY_USER:-ci-bot}" 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_NAME="${IMAGE_NAME:-python-repositories-ci}"
IMAGE="${IMAGE:-${REGISTRY}/${IMAGE_OWNER}/${IMAGE_NAME}}" IMAGE="${IMAGE:-${REGISTRY}/${IMAGE_OWNER}/${IMAGE_NAME}}"