Azure / acr-build

Github action to build containers with Azure Container Registry
MIT License
20 stars 25 forks source link

Cannot pass multi-architecture platform args to ACR build tool #18

Open michaels0184 opened 3 months ago

michaels0184 commented 3 months ago

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"

ams0 commented 2 months ago

It could be fixed by #13 but I don't have commit/merge access to this repo anymore