[DNM] feat: dry-run build artifacts (temp registry + job summary)#559
Draft
ianpittwood wants to merge 18 commits into
Draft
[DNM] feat: dry-run build artifacts (temp registry + job summary)#559ianpittwood wants to merge 18 commits into
ianpittwood wants to merge 18 commits into
Conversation
The OrasManifestDelete command frequently failed when cleaning up the temporary manifest index after a merge. Remove the command and the in-line cleanup step; the temporary index is now left in place and cleaned up out-of-band by the clean.yml workflow (bakery clean temp-registry). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…uild-pr Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment on lines
+284
to
+285
| - name: Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
This was referenced May 29, 2026
Draft
Points the internal setup-bakery action refs and the reusable-workflow `version` input defaults at this branch so PR CI (here and in the product repos) installs and runs this branch's bakery + workflows. REVERT THIS COMMIT before merging — on main these must reference @main. Co-Authored-By: Claude Opus 4.8 (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.
What & why
Lets Bakery builds publish a pullable multi-arch image to a temporary registry for builds that normally wouldn't push (PRs, dry-run merges), and surfaces the image references in the GitHub Actions job summary so failing builds are debuggable (
docker pull …).Changes
Bakery CLI
ImageTarget.temp_tag_name— stable pullable temp ref{temp_registry}/{image_name}/tmp:{uid}.OrasMergeWorkflow.run(index_only=…)+bakery ci merge --index-only— create the multi-arch index in the temp registry and skip copy-to-final.bakery ci summary --mode {temp|final}— renders a markdown table of refs for$GITHUB_STEP_SUMMARY.bakery build --temp-tagged(+BakerySettings/ImageTargetSettings.temp_tagged) — push a single tagged multi-arch image to the temp registry instead of by-digest.Reusable workflows
bakery-build-native.yml&bakery-build.yml:pushinput is now a tri-state stringoff/temp/on(was boolean).temppublishes to the temp registry only;onkeeps the prior push-to-final behavior;offkeeps the prior no-push behavior. Adds a validation guard + a Build Artifact Summary step.bakery-build-pr.yml: same-repo PRs now publish a temp multi-arch index + job summary (viamerge --index-only); fork PRs keep their--load-only, no-push behavior unchanged.Compatibility / merge order
pushinput changed type (boolean → string). Product repos (images-connect,images-package-manager,images-workbench) pin these workflows at@mainand pass a booleanpush:; once this merges, those callers must already emit'on'/'off'. The linked product PRs do exactly that — merge this first (or together).Linked product-repo PRs
Testing
just test: 1559 passed.actionlint(pre-commit) +zizmor: clean (no template-injection; only pre-existingartipackedcheckout notes).Design docs (local, not committed —
docs/superpowers/is gitignored)docs/superpowers/specs/2026-05-29-dry-run-build-artifacts-design.mddocs/superpowers/plans/2026-05-29-dry-run-build-artifacts.md🤖 Generated with Claude Code