You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pushing multi-architecture images to Artifactory, an image with the mentioned tag is created, alongside additional images with tags matching the original tag with the architecture as a suffix. For example, this command will create 3 tags in Artifactory: docker buildx build --file Dockerfile --platform linux/amd64,linux/arm64 --tag <Artifactory_host>/workshop-docker/tdp/multi-arch-test:1.1-rc --output=type=image --push .
The tags created are: 1.1-rc tag, 1.1-rc-linux-amd64 and 1.1-rc-linux-arm64.
When adding the docker image, which is already published to Artifactory, to the build-info using the jfrog rt bdc command, we need to provide the manifest.json SHA value with the --image-file flag. This will add the image with the original tag, but not the other tags.
Customers would like to have the ability to link the list.manifest.json as well to have all the images with all the additionally created tags to be added to the build-info before publishing it, since the additional tags are not known in advance and currently each manifest on each image tag needs to be added separately to the same build.
The text was updated successfully, but these errors were encountered:
Hey, I found a WA that enables you to index all the docker layers into the build-info.
Basically, I pull the just-pushed image (since it is not in docker images), filter only relevant images, format them as jf rt bdc require, and lastly, add them one by one to the build-info.
When pushing multi-architecture images to Artifactory, an image with the mentioned tag is created, alongside additional images with tags matching the original tag with the architecture as a suffix. For example, this command will create 3 tags in Artifactory:
docker buildx build --file Dockerfile --platform linux/amd64,linux/arm64 --tag <Artifactory_host>/workshop-docker/tdp/multi-arch-test:1.1-rc --output=type=image --push .
The tags created are: 1.1-rc tag, 1.1-rc-linux-amd64 and 1.1-rc-linux-arm64.
When adding the docker image, which is already published to Artifactory, to the build-info using the jfrog rt bdc command, we need to provide the manifest.json SHA value with the --image-file flag. This will add the image with the original tag, but not the other tags.
Customers would like to have the ability to link the list.manifest.json as well to have all the images with all the additionally created tags to be added to the build-info before publishing it, since the additional tags are not known in advance and currently each manifest on each image tag needs to be added separately to the same build.
The text was updated successfully, but these errors were encountered: