Switch API Docker pipeline to single-arch builds + manifest merge#49
Merged
benjamin-747 merged 2 commits intoJan 27, 2026
Merged
Conversation
• Add auto-arch local build script (script/demo) • Unify tag scheme: <base>-amd64 / -arm64 Signed-off-by: Hongze Gao <15101764808@163.com>
benjamin-747
requested changes
Jan 27, 2026
| service: campsite-api-staging-service-njx3hjyx | ||
| - cluster: gitmono-com-mega-app | ||
| service: campsite-api-service | ||
| platform: [linux/amd64, linux/arm64] |
Collaborator
There was a problem hiding this comment.
action 不需要构建linux/arm64
- Refactor deploy-api workflow to build/push amd64 only - Create manifest list from CI amd64 + locally pushed arm64, then deploy to 2 ECS services - Update local build script to always --load and use docker push (avoid OCI index on buildx --push) Signed-off-by: Hongze Gao <15101764808@163.com>
Contributor
Author
脚本调整固定使用
|
benjamin-747
approved these changes
Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changed
Local build script
script/demo/build-images-arm64-local.sh• Detects host CPU (amd64 / arm64)
• Builds one architecture at a time, optional
--push• Tags as
<IMAGE_TAG>-<arch>Script README
Usage, prerequisites and examples in
script/demo/README.md.CI workflow refactor (
.github/workflows/deploy-api.yml)build-push-single-arch– matrix builds amd64 & arm64, pushes single-arch imagesmanifest– combines the two into a multi-arch manifest listdeploy– forces redeploy on both ECS services (staging & prod) with the manifest tagIMAGE_TAG_BASE(campsite-0.1.0-pre-release), no commit SHA appended.Motivation
Notes
IMAGE_TAG_BASEor build args in one place.