Skip to content

ci: build multi-arch docker image (linux/amd64,linux/arm64)#9

Merged
RembrandtK merged 1 commit into
mainfrom
multi-arch-images
May 1, 2026
Merged

ci: build multi-arch docker image (linux/amd64,linux/arm64)#9
RembrandtK merged 1 commit into
mainfrom
multi-arch-images

Conversation

@RembrandtK
Copy link
Copy Markdown
Contributor

  • Native runner per platform (ubuntu-24.04 / ubuntu-24.04-arm), push-by-digest, manifest fused in a follow-up merge job.
  • Per-platform buildcache scopes to avoid cross-arch collisions.
  • SHA-pinned third-party actions (build.yaml + ci.yaml).
  • Merge gate uses !cancelled() && needs.build.result == 'success' so workflow_dispatch doesn't leave orphan by-digest blobs.
  • type=sha forced on so workflow_dispatch from non-default branches still yields a populated meta.outputs.version for Inspect.
  • Dependabot config (github-actions, monthly, grouped) added.

- Native runner per platform (ubuntu-24.04 / ubuntu-24.04-arm),
  push-by-digest, manifest fused in a follow-up merge job.
- Per-platform buildcache scopes to avoid cross-arch collisions.
- SHA-pinned third-party actions (build.yaml + ci.yaml).
- Merge gate uses !cancelled() && needs.build.result == 'success'
  so workflow_dispatch doesn't leave orphan by-digest blobs.
- type=sha forced on so workflow_dispatch from non-default branches
  still yields a populated meta.outputs.version for Inspect.
- Dependabot config (github-actions, monthly, grouped) added.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions pipelines to publish a multi-architecture Docker image to GHCR (linux/amd64 + linux/arm64) using per-arch native runners, digest-based pushes, and a follow-up manifest merge job, while also tightening workflow supply-chain hygiene.

Changes:

  • Convert Docker publishing workflow to a per-platform matrix build that pushes by digest and merges into a multi-arch manifest in a dependent job.
  • SHA-pin GitHub Actions used in CI/build workflows.
  • Add Dependabot configuration for monthly grouped GitHub Actions updates.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/ci.yaml SHA-pins checkout and setup-node actions used by CI.
.github/workflows/build.yaml Adds multi-arch build matrix, per-arch caching, digest export/upload, and manifest merge job.
.github/dependabot.yml Enables grouped monthly Dependabot updates for GitHub Actions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build.yaml
@RembrandtK RembrandtK marked this pull request as ready for review May 1, 2026 15:42
@RembrandtK RembrandtK merged commit dd26714 into main May 1, 2026
11 checks passed
@RembrandtK RembrandtK self-assigned this May 1, 2026
@RembrandtK RembrandtK deleted the multi-arch-images branch May 1, 2026 15:44
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