ci(pyatlan): mirror the Harbor tag ladder to ghcr.io/atlanhq/pyatlan - #1035
Merged
Conversation
Harbor is being retired and this workflow is the only producer of
registry.atlan.com/public/pyatlan. It already pushes to GHCR in the same
buildx invocation, but under a different name --
ghcr.io/atlanhq/pyatlan-chainguard-base -- so ghcr.io/atlanhq/pyatlan does
not exist at all (an authenticated registry lookup returns 404, against a
control that also returns 404 for a name that was never published).
That flat name is the one the registry gateway resolves. It maps
public/<name> -> atlanhq/<name>, so registry.atlan.com/public/pyatlan
keeps working through the gateway only once ghcr.io/atlanhq/pyatlan
carries the same tags. Without this, the pyatlan reference breaks the
moment the host rule moves off Harbor, and there is nothing to make
public for the consumers that pull it directly -- atlan-python,
agent-toolkit, and external repos.
A mirror rather than a rename, deliberately: pyatlan-chainguard-base is
already published and consumed, and moving it would break those users to
fix a different problem. Both names come out of the one buildx push, so
every reference is the same digest.
The ladder is mirrored suffix for suffix, verified against both build
types: dev gets <version>-<python>-<sha> and sha-<sha>; release gets
<version>-<python>, main-latest, main-<version> and sha-<sha>.
Note for whoever merges: the first run creates the package, and GitHub
creates it private. Making it public is a separate step, and the org
currently disables public package visibility ("Setting is disabled by
organization administrators"), so that policy has to be lifted before
anonymous pulls work -- which is what public/pyatlan offers today.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.