From Artifactory 7.21.2, the Docker buildx
command is supported, allowing you to create and upload Docker ‘manifest lists
’ to the Docker registry in Artifactory. Docker
buildx
allows you to build and push multi-architecture images using a single command instead of having to build and push each of the architecture images separately. For more information, see Working with buildx.
To support the Docker buildx
, Artifactory saves each architecture of the image under the following path structure with the tag that includes the originally published tag, the image operating system, and the image architecture.
imageName:tag-os-arch
The following example shows the Docker BuildX API usage.
docker buildx build --platform linux/amd64,linux/arm64 --tag domain/docker/multiarch-image:tag --output=type=image,push=true --push .