yarn-plugins icon indicating copy to clipboard operation
yarn-plugins copied to clipboard

docker buildx support

Open ssteuteville opened this issue 4 years ago • 2 comments

Would be really cool if this plugin supported buildx so that I could build my images for different architectures the easy way!

ssteuteville avatar Feb 04 '22 16:02 ssteuteville

Any update on this?

haf avatar Sep 07 '22 18:09 haf

@ssteuteville Is this an option? https://github.com/docker/buildx#set-buildx-as-the-default-builder

If not, I'd imagine this package would just need to add a command yarn docker buildx build, which could wrap the build.ts command , except replace build with buildx build here https://github.com/Dcard/yarn-plugins/blob/7126887764e305905c4de644fba29848510f079e/packages/docker-build/src/commands/build.ts#L205

ferm10n avatar Nov 01 '22 16:11 ferm10n