Skip to content

'buildx imagetools create' broken since v0.31.1 when building multi-platform images on github across multiple runners #3708

@yubiuser

Description

@yubiuser

Contributing guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

We've been using a github workflow which basically follows the steps outlined in

https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners

Our workflow file is here.

We noticed, the 'merge' step failed since 6th of February, which was the day docker/setup-buildx-action started to deploy buildx version v0.31.1.
The logs always error at the docker buildx imagetools create step with

#1 [internal] pushing ghcr.io/pi-hole/***
#1 24.69 pushing sha256:1ac73ae4246c36835675145362d146a4bd2af7bd518de3e2bda44cf62116b55d to ghcr.io/pi-hole/***:nightly
#1 DONE 25.1s
ERROR: ghcr.io/pi-hole/***@sha256:f4a9f4daa0088ae6b74c45149690f9c31420122ad9079c231df81b2e31629010: not found
Error: Process completed with exit code 1.

We've manually reverted to buildx v0.31.0 and it immediately started to work again.
Here is a github action run which failed
https://github.com/pi-hole/docker-pi-hole/actions/runs/22030313470/job/63654289108

and this one is right after the version was set to v0.31.0
https://github.com/pi-hole/docker-pi-hole/actions/runs/22039970323/job/63679202890

As v0.31.1 only contained a single PR, it's probably due to #3632

Expected behaviour

Following the official guide for creating multi-arch images across multiple runners should not fail at step docker buildx imagetools create

Actual behaviour

See above. Workflows fail at the docker buildx imagetools create step.

Buildx version

affected are all versions > 0.31.0

Docker info


Builders list

Not sure how to obtain at github action runners.

Configuration

This is the Dockerfile we build: https://github.com/pi-hole/docker-pi-hole/blob/master/src/Dockerfile
And this is the corresponding workflow: https://github.com/pi-hole/docker-pi-hole/blob/master/.github/workflows/build-and-publish.yml

Build logs


Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions