Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

paullj1
Copy link

@paullj1 paullj1 commented Sep 16, 2019

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
Copy link
Author

paullj1 commented Sep 16, 2019

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