acr-build icon indicating copy to clipboard operation
acr-build copied to clipboard

Cannot pass multi-architecture platform args to ACR build tool

Open michaels0184 opened this issue 6 months ago • 1 comments

We currently use Docker with BuildX to create multi architecture images like this...

docker buildx build --file "$DOCKERFILE" --platform "linux/amd64,linux/arm64"

But with ACR build we cannot achieve this without using Docker to create a manifest after building both architecture images using the ACR then still having to rely on Docker to create the manifest after and annotating both architectures before pushing that to the ACR. We want to avoid using Docker all together and rely fully on the ACR capabilities. If we could do something along the lines of....

az acr build --registry "$DOCKER_REGISTRY" --file "$dockerfile" --platform "linux/amd64,linux/arm64"

michaels0184 avatar Aug 15 '24 07:08 michaels0184