Skip to content

Push images with the registry credentials kept in this organisation - #17

Merged
rudolphpienaar merged 2 commits into
masterfrom
ci/registry-auth
Nov 5, 2026
Merged

rudolphpienaar merged 2 commits into
masterfrom
ci/registry-auth

Conversation

@rudolphpienaar

@rudolphpienaar rudolphpienaar commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

The move to HARBOR-Medical-AI left the registry settings behind, as it did for CUBE (HARBOR-Medical-AI/ChRIS_ultron_backEnd#748):

  • The Docker Hub secrets were FNNDSC org secrets and are not visible here.
  • ghcr.io/fnndsc/oxidicom are FNNDSC packages. This repository's GITHUB_TOKEN belongs to HARBOR-Medical-AI and cannot write them.

The build-docker job now logs in to GHCR with GHCR_USERNAME and GHCR_TOKEN, the FNNDSC bot, which has Write on the packages. It asks only contents: read of its own token. DOCKERHUB_USERNAME, DOCKERHUB_PASSWORD, GHCR_USERNAME and GHCR_TOKEN are HARBOR-Medical-AI org secrets shared with this repository.

The image job logs in and pushes on pull requests too (tag pr-N), so this PR's own run is the test.

The second commit updates codecov/codecov-action from v6.0.0 to v6.0.2. v6.0.0 fetches the uploader's signing key from keybase.io/codecovsecurity, which Codecov retired in June 2026 (codecov/codecov-action#1956). The URL returns 404, so the upload fails on every run, fail_ci_if_error fails Test, and the image job is skipped. v6.0.2 uses keybase.io/codecovsecops.

🤖 Generated with Claude Code

rudolphpienaar and others added 2 commits November 5, 2026 12:23
The move to HARBOR-Medical-AI left the registry settings behind: the Docker Hub secrets were FNNDSC org secrets, and ghcr.io/fnndsc/oxidicom is an FNNDSC package this repository's GITHUB_TOKEN cannot write. The image job logs in to GHCR with GHCR_USERNAME and GHCR_TOKEN (an FNNDSC account with write on the package) and asks only contents: read of its own token. The four secrets are HARBOR-Medical-AI org secrets shared with this repository. Same change as HARBOR-Medical-AI/ChRIS_ultron_backEnd#748.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecov's new key

v6.0.0 fetches the uploader's signing key from keybase.io/codecovsecurity, which Codecov retired in June 2026; the URL now returns 404, so the upload step fails on every run and, through fail_ci_if_error, fails Test and skips the image job. v6.0.2 (wrapper 0.2.9) fetches it from keybase.io/codecovsecops. See codecov/codecov-action#1956.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rudolphpienaar
rudolphpienaar merged commit 728448d into master Nov 5, 2026
5 checks passed
@rudolphpienaar
rudolphpienaar deleted the ci/registry-auth branch November 5, 2026 17:42
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