diff --git a/circle.yml b/circle.yml index 5055610ba3..c59df1aed0 100644 --- a/circle.yml +++ b/circle.yml @@ -217,6 +217,15 @@ jobs: docker run --privileged --rm tonistiigi/binfmt --install linux/amd64,linux/arm64 docker buildx create --name builder --use + # Disable default provenance attestation for Buildx + # https://docs.docker.com/build/building/variables/#buildx_no_default_attestations + # https://docs.docker.com/build/release-notes/#0100 + # Keeps using docker + # "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json" + # instead of moving to oci, which may cause compatibility issues, for example + # "mediaType": "application/vnd.oci.image.index.v1+json" + export BUILDX_NO_DEFAULT_ATTESTATIONS=1 + docker login -u "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_PASS" docker buildx bake -f ./docker-compose.yml --progress plain --set *.platform=linux/arm64,linux/amd64 --push << parameters.target >>