Skip to content

feat: DEVENV-9681 push build index to Harbor as OCI artifact#1

Open
chriswydra wants to merge 1 commit into
mainfrom
feat/DEVENV-9681-harbor-build-index
Open

feat: DEVENV-9681 push build index to Harbor as OCI artifact#1
chriswydra wants to merge 1 commit into
mainfrom
feat/DEVENV-9681-harbor-build-index

Conversation

@chriswydra

Copy link
Copy Markdown
Contributor

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_HARBOR block (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 builds project existing; the non-fatal guard means builds will not break if it does not exist yet.

🤖 Generated with Claude Code

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.
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