Skip to content

fix(release): push image to ghcr.io/gen0sec/synapse-operator (was non-existent ghcr.io/arxignis)#21

Merged
pigri merged 1 commit into
mainfrom
fix/release-ghcr-owner
May 18, 2026
Merged

fix(release): push image to ghcr.io/gen0sec/synapse-operator (was non-existent ghcr.io/arxignis)#21
pigri merged 1 commit into
mainfrom
fix/release-ghcr-owner

Conversation

@pigri
Copy link
Copy Markdown
Contributor

@pigri pigri commented May 18, 2026

Problem

The Release workflow (tag v0.1.0, run 26031328825) failed at the image push:

ERROR: failed to push ghcr.io/arxignis/moat-operator: denied: not_found: owner not found

release.yaml:15 set MOAT_OPERATOR_REGISTRY_IMAGE: ghcr.io/arxignis/moat-operator, but:

  • arxignis is not a GitHub org or user (/orgs/arxignis & /users/arxignis → 404) — no such ghcr owner namespace.
  • The workflow authenticates with ${{ secrets.GITHUB_TOKEN }} (repo gen0sec/synapse-operator, packages: write), which can only push packages under owner gen0sec.

The Go build itself succeeded; only the push target was wrong.

Fix

One line: MOAT_OPERATOR_REGISTRY_IMAGEghcr.io/gen0sec/synapse-operator. It's the single source of truth (lines 39/101/150/151/155 all reference ${{ env.MOAT_OPERATOR_REGISTRY_IMAGE }}), so this fixes every push/merge/inspect target. Image now matches the repo and is pushable by the repo's GITHUB_TOKEN.

Re-release note

v0.1.0 points at the PR #20 merge commit (595aaa4), whose release.yaml still has the bug. After this merges to main, re-release by deleting + recreating the v0.1.0 tag on the new main HEAD (or tagging v0.1.1); re-running the old run won't help (it builds the tagged commit's workflow).

The Release workflow pushed to ghcr.io/arxignis/moat-operator, but
'arxignis' is not a GitHub org or user, and the workflow authenticates
with ${{ secrets.GITHUB_TOKEN }} (repo gen0sec/synapse-operator,
packages: write) which can only push under owner 'gen0sec'. Result:
'failed to push ... denied: not_found: owner not found' (v0.1.0
release, run 26031328825). Go build was fine.

MOAT_OPERATOR_REGISTRY_IMAGE is the single source (lines 39/101/150+
all reference it), so this one env change fixes every push/merge/
inspect target. Image now matches the repo: gen0sec/synapse-operator.
@pigri pigri merged commit 04e4fda into main May 18, 2026
8 checks passed
@pigri pigri deleted the fix/release-ghcr-owner branch May 18, 2026 19:51
pigri added a commit that referenced this pull request May 19, 2026
…e-operator

Remove the arxignis-specific Helm wiring (export ARX_KEY +
--set synapse.synapse.arxignis.apiKey) and replace placeholder image
refs (ghcr.io/<org>/ , ghcr.io/example/) with the real published
image ghcr.io/gen0sec/synapse-operator, matching the release fix
(#21). Docs only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant