Skip to content

fix(ci): publish a plain amd64 manifest, so the image runs on Apple Silicon [FTTECH-15471] - #12

Merged
florentsorel merged 1 commit into
masterfrom
fix/provenance-false
Oct 8, 2026
Merged

florentsorel merged 1 commit into
masterfrom
fix/provenance-false

Conversation

@florentsorel

Copy link
Copy Markdown
Collaborator

What Does It Do?

Adds provenance: false to the docker/build-push-action step, so that v3.13.0 is published as a plain linux/amd64 image manifest instead of an OCI index.

Context

docker/build-push-action adds a provenance attestation by default: each tag becomes an OCI index with linux/amd64 and an unknown/unknown entry. On an Apple Silicon Mac, Docker refuses an index without its platform (no matching manifest for linux/arm64/v8 in the manifest list entries), so the PHP-CS-Fixer target of the mobsuccess Makefile no longer runs there since the move to ghcr.io. The ECR Public image was a plain amd64 manifest, which Docker ran under emulation with a warning: this restores that behaviour. CI runners are amd64 and are not affected.

Checked locally on an Apple Silicon Mac, with a throwaway registry and a docker-container builder as in CI: the image pushed by default is refused by docker run; pushed with provenance: false, it runs under emulation. The only loss is the SLSA provenance attestation, which nothing consumes. The same change goes into the four other image repositories (FTTECH-15466).

Merging republishes v3.13.0, with the same phar, checked against its SHA-256 during the build.

Test Plan

  • actionlint: nothing reported
  • this pull request's own Docker run builds the image
  • after merge: v3.13.0 is a plain manifest (application/vnd.oci.image.manifest.v1+json) and docker run starts it on an Apple Silicon Mac

🤖 Generated with Claude Code

…ilicon [FTTECH-15471]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 6, 2026 08:08
@github-actions github-actions Bot added the fix Bug Fix label Oct 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The change is a small, targeted workflow input update that aligns with the stated goal and is supported by the referenced action version.

Review effort: Lite
Findings: None

What changed in this PR

This PR adjusts the container publishing workflow so the v3.13.0 image is pushed as a plain linux/amd64 manifest (not an OCI index), restoring the ability to docker run the image on Apple Silicon via emulation.

Changes:

  • Disable BuildKit provenance attestations in docker/build-push-action to avoid publishing an OCI index with an unknown/unknown entry.
File Description
.github/​workflows/​docker.yml Disables provenance generation during build/push so published tags become plain linux/amd64 manifests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@florentsorel florentsorel added the maximus-auto-merge-fast Trigger Maximus deterministic check and auto-merge, no fixes label Oct 8, 2026
@maximus-agents

maximus-agents Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Maximus fast — Ready to merge ✅

Every required gate passed on 1bb41d4.

Required action

No action required: the verified GitHub merge strategy will be applied.

Check status

Check Status Key takeaway
Up to date with base ✅ Yes Mergeable
Automated tests (CI) ✅ Passed All required checks passed
Linear ticket ✅ Compliant FTTECH-15471
Copilot review completed ✅ Yes Completed
Copilot comments resolved ✅ Yes 0 unresolved threads

@florentsorel
florentsorel merged commit 463b851 into master Oct 8, 2026
7 checks passed
@florentsorel
florentsorel deleted the fix/provenance-false branch October 8, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug Fix maximus-auto-merge-fast Trigger Maximus deterministic check and auto-merge, no fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants