Skip to content

Commit a3edf87

Browse files
committed
ci(ofelia): override container image-name to preserve GHCR package identity
Template default `image-name: ${{ github.repository }}` would produce `ghcr.io/netresearch/ofelia` (full owner/repo), but the existing GHCR package for this repo has been `ghcr.io/netresearch/ofelia` published as just `ofelia` for years — renaming would orphan all existing image pulls. Override image-name to `ofelia` and record it as intentional-drift. Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
1 parent 1ad785b commit a3edf87

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/template.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# Managed by netresearch/.github/templates/go-app/
1+
# Managed by netresearch/.github/templates/
22
# Drift from the template is blocking CI in this repo (check-template-drift.yml).
33
# Record explicit exceptions under intentional-drift[] to unblock.
44
template: go-app
5-
intentional-drift: []
5+
intentional-drift:
6+
- path: .github/workflows/container.yml
7+
reason: "GHCR package name is 'ofelia' (short form), not 'netresearch/ofelia' \u2014\
8+
\ pre-dates template; renaming would break existing image consumers."

.github/workflows/container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
container:
1616
uses: netresearch/.github/.github/workflows/build-container.yml@main
1717
with:
18-
image-name: ${{ github.repository }}
18+
image-name: ofelia
1919
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
2020
permissions:
2121
contents: read

0 commit comments

Comments
 (0)