Skip to content

[PLAT-5001] Add platforms input to php-laravel-build-push workflow#131

Merged
bbooth merged 1 commit into
mainfrom
plat-5001_enable_multi_arch_ci_image_publishing
Jun 16, 2026
Merged

[PLAT-5001] Add platforms input to php-laravel-build-push workflow#131
bbooth merged 1 commit into
mainfrom
plat-5001_enable_multi_arch_ci_image_publishing

Conversation

@bbooth

@bbooth bbooth commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a platforms workflow_call input to php-laravel-build-push.yaml for docker buildx multi-arch builds
  • Defaults to linux/amd64 so existing consumers (payments, shipping, marketplaces, etc.) keep current single-arch behavior without changes
  • App, webserver, and CLI build jobs all use ${{ inputs.platforms }} instead of hardcoded linux/amd64

Motivation

Part of Graviton rollout phase 1. Listings needs to publish multi-arch CLI images on merge-main; this shared workflow change enables opt-in per repo via platforms: linux/amd64,linux/arm64.

Related

Test plan

  • Merge this PR first
  • Verify an existing consumer (e.g. payments merge-main) still builds amd64-only with no workflow changes
  • Merge listings PLAT-5001 PR and confirm ghcr.io/encodium/listings:cli-<TAG> manifest lists both amd64 and arm64

Made with Cursor

Expose docker buildx platforms as a workflow_call input defaulting to
linux/amd64 so existing consumers keep single-arch behavior until they
opt in to multi-arch explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bbooth bbooth marked this pull request as ready for review June 16, 2026 20:08
@bbooth bbooth requested a review from a team as a code owner June 16, 2026 20:08
@bbooth bbooth requested a review from jcardenasRP June 16, 2026 20:08
@bbooth bbooth merged commit d210c57 into main Jun 16, 2026
2 checks passed
@bbooth bbooth deleted the plat-5001_enable_multi_arch_ci_image_publishing branch June 16, 2026 20:56
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