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 15f1c4b7 Test multi arch automated build for dockerhub (#1591)
15f1c4b7 is described below

commit 15f1c4b71f9e91efb0b5632810eef89bef79d73d
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Tue Feb 13 23:25:11 2024 +0500

    Test multi arch automated build for dockerhub (#1591)
    
    - Hooks/build overrides the default build process for dockerhub. See
      https://docs.docker.com/docker-hub/builds/advanced/#build-hook-examples
---
 docker/hooks/build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docker/hooks/build b/docker/hooks/build
new file mode 100644
index 00000000..59188148
--- /dev/null
+++ b/docker/hooks/build
@@ -0,0 +1,2 @@
+docker buildx create --name multiarch --use
+docker buildx build . -t $IMAGE_NAME -f Dockerfile --platform 
linux/arm64/v8,linux/amd64 --push
\ No newline at end of file

Reply via email to