This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch multi-arch-build-test
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/multi-arch-build-test by this
push:
new d980d5af Add additional docker commands for debugging (#1618)
d980d5af is described below
commit d980d5af9b36e8551a5f2f2812b18069c5cd565d
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Fri Feb 16 00:31:24 2024 +0500
Add additional docker commands for debugging (#1618)
---
docker/hooks/build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/docker/hooks/build b/docker/hooks/build
index 981c1204..fb9792c6 100644
--- a/docker/hooks/build
+++ b/docker/hooks/build
@@ -1,4 +1,8 @@
#!/bin/bash
docker buildx create --name multiarch --use --platform
linux/amd64,linux/arm64/v8
-docker buildx build ../ -t $IMAGE_NAME -f Dockerfile --platform
linux/arm64/v8,linux/amd64 --push
\ No newline at end of file
+docker buildx inspect multiarch --bootstrap
+docker context ls
+docker buildx inspect multiarch
+docker manifest inspect $IMAGE_NAME
+docker buildx build ../ -t $IMAGE_NAME -f Dockerfile --platform
linux/amd64,linux/arm64/v8 --push --no-cache
\ No newline at end of file