feat: DEVENV-9681 push build index to Harbor as OCI artifact#1
Open
chriswydra wants to merge 1 commit into
Open
feat: DEVENV-9681 push build index to Harbor as OCI artifact#1chriswydra wants to merge 1 commit into
chriswydra wants to merge 1 commit into
Conversation
After the Harbor dual-push, also oras-push the build index (build-index.json +
bake.json) to builds/<image_name>:<BUILD_ID> so consumers can resolve a
BUILD_KEY -> {target -> digest} from Harbor, mirroring the Bitbucket pipe and
the Artifactory docker-build-metadata layout. Best-effort: a failure warns but
does not fail the build while Artifactory remains authoritative.
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.
Part of the Artifactory -> Harbor migration (DEVENV-9681). After the existing Harbor dual-push, this also pushes the build index to Harbor as a tagged OCI artifact at
builds/<image>:<BUILD_KEY>, giving the Artifactory build-index a Harbor home so deploy consumers can resolve BUILD_KEY -> {target -> digest} from Harbor instead of Artifactory.Safety: the push sits inside the existing
PUSH_TO_HARBORblock (no-op unless dual-push is enabled) and is best-effort - a failure logs a warning but does not fail the build, since Artifactory remains the authoritative index source until consumers cut over.Note: depends on a Harbor
buildsproject existing; the non-fatal guard means builds will not break if it does not exist yet.🤖 Generated with Claude Code