Skip to content

refactor: call shared docker-build-test-push reusable workflow - #8

Merged
gambe94 merged 3 commits into
mainfrom
feat/reusable-docker-workflow
Jul 12, 2026
Merged

refactor: call shared docker-build-test-push reusable workflow#8
gambe94 merged 3 commits into
mainfrom
feat/reusable-docker-workflow

Conversation

@gambe94

@gambe94 gambe94 commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Implements docs/reusable-workflow-migration-design.md: build-and-push.yml becomes a thin caller — a matrix over the 3 images invokes shared-github-actions/docker-build-test-push.yml (build → test → multi-arch push with SBOM/provenance + keyless cosign signing), while the repo-specific release job stays local and now appends per-image tool-version tables (Node/npm/SF CLI/plugins, read from the built images) to the CHANGELOG-based release notes.

Behavior changes (deliberate, per approved design):

  • Docker tags on release: X.Y.Z + latest only — rolling :1 / :1.2 tags dropped
  • Images are cosign-signed (keyless, GitHub OIDC) on tag pushes
  • Per-image GHA cache scope (parallel builds no longer share one cache scope)

Rollout (design doc §7)

  1. ⏳ This PR references the shared feature branch — verify all 3 image pipelines green here
  2. Merge shared-github-actions#5, tag v1.1.0 there
  3. Flip the ref to @v1 in this PR, re-verify, merge
  4. Docs commit (CLAUDE.md, references, READMEs, CHANGELOG) lands in this PR before merge

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

Test Results - sf-bulk

19 tests   19 ✅  15s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit f6a04ab.

♻️ This comment has been updated with latest results.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

Test Results - sf-ci

15 tests   15 ✅  14s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit f6a04ab.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

Test Results - sf-devcontainer

22 tests   22 ✅  14s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit f6a04ab.

♻️ This comment has been updated with latest results.

gambe94 and others added 2 commits July 12, 2026 14:45
build-and-push.yml is now a thin caller: a matrix fans out over the three
images, each invoking the shared reusable workflow (build → test → push,
incl. keyless cosign signing and the two-tag scheme). The repo-specific
release job stays local and now aggregates the per-image version-report
artifacts into the release notes. Temporarily references the shared feature
branch; flipped to @v1 before merge.

Implements docs/reusable-workflow-migration-design.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- CLAUDE.md + .claude/references/github-actions.md rewritten for the thin
  caller + shared reusable workflow, @v1 pin, and cosign signing
- Root README: two-row supported-tags table, cosign verification command in
  Security & provenance, release flow description updated
- Per-image READMEs: rolling-tag references replaced with latest/exact
  version, 'Verify the signature' sections added
- CHANGELOG: reusable-workflow migration, cosign signing, version tables in
  release notes, tag-scheme change

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gambe94
gambe94 force-pushed the feat/reusable-docker-workflow branch from aa9e577 to 4dc7196 Compare July 12, 2026 12:45
shared-github-actions v1.1.0 is released; @v1 is its floating major tag
(moved by the shared repo's release process). Chosen over @main (unreleased,
may break) and over a SHA pin (no automation watching cross-repo workflow
refs here) — see the shared repo's Versioning docs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gambe94
gambe94 merged commit 0c7be9c into main Jul 12, 2026
14 checks passed
@gambe94
gambe94 deleted the feat/reusable-docker-workflow branch July 12, 2026 12:57
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.

2 participants