Skip to content

Commit f83eecb

Browse files
authored
Merge pull request #38281 from dims/print-docker-and-buildx-versions
print docker and buildx versions
2 parents 0e2b507 + 4d644b3 commit f83eecb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ container-push: container-image ## Push container image for the preview of the w
7777
PLATFORMS ?= linux/arm64,linux/amd64
7878
docker-push: ## Build a multi-architecture image and push that into the registry
7979
docker run --rm --privileged tonistiigi/binfmt:qemu-v6.2.0-26@sha256:5bf63a53ad6222538112b5ced0f1afb8509132773ea6dd3991a197464962854e --install all
80+
docker version
81+
docker buildx version
8082
docker buildx create --use --name=image-builder 2>/dev/null || docker buildx use --default image-builder
8183
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
8284
sed -e '1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross

0 commit comments

Comments
 (0)