Skip to content

Provide a Github Action example of multiple runners pushing to multiple registries without bake #21580

@FoxxMD

Description

@FoxxMD

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

It's not uncommon to want to use Github Actions to push to build an image and push to multiple registries. The docker docs even have an example of this using build-push-action which is very straightforward. However this strategy uses QEMU for multi-platform which is slow.

There is already a docs example of building multi-platform image using multiple runners but the example only shows usage for pushing to one registry.

The bake example does show how to push to multiple registries but that requires modifying a user's entire build strategy to use bake instead of build.

Location

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

Suggestion

Please provide a modified version of the Distribute build across multiple runners example that shows how a user could push the built image to multiple registries.

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions