Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to publish docker multi-arch images with Pipeline runtime v3

Antoine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2025

Hello,

I was very excited about the Pipeline runtime v3 release and wanted to use it for publishing multi-arch docker images using it.

I followed your documentation, to build images for platforms linux/amd64 and linux/arm64. They are built correctly. However, I'm not able to list them with `docker image ls --tree` nor publishing them in a separate step.

I followed your instructions by first creating an image with docker-cli, compose and buildx preinstalled and then defining a pipeline custom trigger to build the docker multi-arch image as described in 'Multi -arch Build' section.

The build produces this warning message:

WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load

Is there a way with bitbucket pipeline runtime v3 to list and publish multi-arch docker images after the build step?

 

Thank you very much for your help!

 

 

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2025

Hi @Antoine

Welcome to the community.

Could you please share your YAML config for us to check? Please mask any sensitive information before sharing it

Regards,
Mark C

Antoine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2025

Hello @Mark C 

Thank you for your support.

I used the config given in the documentation

options:
  runtime:
    cloud:
      version: "3"
pipelines:
  custom:
    multi-arch-build:
      - step:
          image: "<my-image-with-docker-cli-and-buildx>"
          services:
            - docker
          script
            - docker buildx create --name multiarch-builder --driver docker-container --use
            - docker buildx inspect --bootstrap
            - docker run --rm --privileged tonistiigi/binfmt --install all
            - docker buildx build -t test:local --platform=linux/amd64,linux/arm64 .
- docker image ls --tree # won't return any image
- docker image push test:local # fails
I added some comments with problematic steps

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events