Skip to content

Fix build-stack manifest tag on PRs#48

Merged
mvalancy merged 1 commit into
developfrom
fix/build-stack-tag-on-pr
Jun 13, 2026
Merged

Fix build-stack manifest tag on PRs#48
mvalancy merged 1 commit into
developfrom
fix/build-stack-tag-on-pr

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Follow-up to #46. The build-stack job failed on the develop→main PR:

build-stack  fail

Cause: build-stack assembled the -stack multi-image manifest from a ${GITHUB_SHA::8} tag, but build-and-push never publishes that tag. On PRs the per-image manifests are pushed as pr-<number> (and sha-<short>), so imagetools create couldn't find them.

Fix: compute the stack tag to match what's actually published — pr-<number> on pull_request, latest on main, branch name on other branch pushes, sha-<short> fallback.

This + #46 make the prod image pipeline green on PRs to main.

🤖 Generated with Claude Code

The build-stack job assembled the multi-image stack manifest from a
`${GITHUB_SHA::8}` tag that the build-and-push job never pushes, so it
failed on every PR (e.g. the develop→main promotion). Use a tag that is
actually published: `pr-<number>` on pull_request events (matches
metadata-action's type=ref,event=pr), `latest` on main, the branch name
on other branch pushes, and a `sha-<short>` fallback that matches the
type=sha tag.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy mvalancy merged commit 0e9482d into develop Jun 13, 2026
16 checks passed
@mvalancy mvalancy deleted the fix/build-stack-tag-on-pr branch June 13, 2026 21:11
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