From 06d7f7a241327da08f4abb43247c17084fdeda31 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 27 Jun 2022 11:27:04 +0000 Subject: [PATCH] Create post_push --- hooks/post_push | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hooks/post_push diff --git a/hooks/post_push b/hooks/post_push new file mode 100644 index 0000000..1c4d1f3 --- /dev/null +++ b/hooks/post_push @@ -0,0 +1,9 @@ +#!/bin/bash + +# Use manifest-tool to create the manifest, given the experimental +# "docker manifest" command isn't available yet on Docker Hub. + +curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download/v0.9.0/manifest-tool-linux-amd64 +chmod +x manifest-tool + +./manifest-tool push from-spec multi-arch-manifest.yaml