Hi everyone,
We are using Bitbucket Cloud Pipelines and the pipe atlassian/aws-ecr-push-image:2.6.0 to push Docker images to ECR.
Our use case:
Current limitation we see:
Today we are using a workaround with docker buildx before the pipe, and then pushing architecture-specific tags, but we would like native support directly in the pipe.
Questions:
Thanks!
Welcome to the community.
Please find the following answer to your questions:
aws-ecr-push-image?No, the atlassian/aws-ecr-push-image pipe still only pushes a single image/tag that exists in the local Docker daemon. It does not have a built-in function to aggregate multiple images into a manifest list and push them as one tag.
Since Bitbucket now supports both AMD64 and ARM64 runners natively in the cloud, the recommended pattern is to build the images on their respective native architectures and then use a final step to create the manifest.
Recommended Workflow:
amd64 runner and one on an arm64 runner.:latest-amd64 and :latest-arm64).docker manifest.Example:
With the release of ARM runners, the primary blocker for multi-arch workflows (the need for slow emulation) has been addressed. While there isn't a specific "one-click" pipe for manifests currently on the public roadmap, the native support for ARM runners is the intended solution for these use cases.
I hope this helps.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.