Skip to content

Commit

Permalink
Get more info on docker version
Browse files Browse the repository at this point in the history
  • Loading branch information
carminevassallo committed Sep 26, 2023
1 parent a1a383e commit e7e0171
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@ multi_arch_build_task:
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
setup_script:
- docker run -t --rm --privileged tonistiigi/binfmt --install all
- docker buildx create --name multibuilder
- docker buildx create --name multibuilder --driver docker-container
- docker buildx use multibuilder
- echo "Buildx version:"
- docker buildx inspect --bootstrap
- echo "Docker version:"
- docker --version
- docker buildx version
build_script:
- echo "Build the ${STAGING_IMAGE_NAME}:${tag} image supporting two architectures, linux/amd64 and linux/arm64"
- docker buildx build --platform linux/amd64,linux/arm64 --tag "${STAGING_IMAGE_NAME}:${tag}" --push ${version}
Expand Down

0 comments on commit e7e0171

Please sign in to comment.