Skip to content

ci: publish scanned multi-arch images on every merge to main - #22

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-11863-publish-scanned-multi-arch-images-on-every-merge-to-main
Oct 31, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-11863-publish-scanned-multi-arch-images-on-every-merge-to-main

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Closes CL-11863

What changed

New publish.yml, modelled on corbits-triage's publish job:

  • On every push to main it builds the sidecar and hub targets for the runner arch, scans both with Trivy (critical and high, fixable findings fail), then builds and pushes linux/amd64 and linux/arm64 to ghcr.io/corbitsdev/corbits-builder-{hub,sidecar} as :main and :<sha>.
  • Pushed images carry our OCI labels (source, revision, version, title, GPL-2.0-only), BuildKit provenance and an SBOM, and a GitHub build-provenance attestation per digest, verifiable with gh attestation verify.
  • Manual runs build and scan without pushing. Permissions: none at the top level; the job has contents: read, packages: write, id-token: write, attestations: write. Actions are pinned to the same shas as triage where they overlap.

How it was verified

The workflow parses, bun run format:check passes, and docker buildx build --check reports no warnings. It runs for real on the first merge after this one.

@linear-code

linear-code Bot commented Oct 31, 2026

Copy link
Copy Markdown

CL-11863

@corbits-triage

corbits-triage Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

Notes:

  • changes sensitive paths: ci: .github/workflows/publish.yml

Triage will approve, request review, label.

@TheGreatAxios
TheGreatAxios added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit 29fa449 Oct 31, 2026
7 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-11863-publish-scanned-multi-arch-images-on-every-merge-to-main branch October 31, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant