Skip to content

Add BuildKit definition file for cross-platform registry image#219

Open
paullj1 wants to merge 8 commits into
abiosoft:masterfrom
paullj1:master
Open

Add BuildKit definition file for cross-platform registry image#219
paullj1 wants to merge 8 commits into
abiosoft:masterfrom
paullj1:master

Conversation

@paullj1

@paullj1 paullj1 commented Sep 16, 2019

Copy link
Copy Markdown

Just run:

docker builds bake -f docker-bake.hcl builder
docker builds bake -f docker-bake.hcl caddy

Buildkit will then build and push a multi-image registry manifest so it won't matter which architecture the client is using, they'll get the correct image (ARMv6, ARMv7, ARM64, or amd64).

@paullj1

paullj1 commented Sep 16, 2019

Copy link
Copy Markdown
Author

FWIW, I built and pushed the latest using this to: paullj1/caddy:latest, and paullj1/caddy:builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant