diff --git a/hooks/post_push b/hooks/post_push new file mode 100644 index 0000000..2903347 --- /dev/null +++ b/hooks/post_push @@ -0,0 +1,4 @@ +#!/bin/bash +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 \ No newline at end of file diff --git a/multi-arch-manifest.yaml b/multi-arch-manifest.yaml new file mode 100644 index 0000000..02f19c7 --- /dev/null +++ b/multi-arch-manifest.yaml @@ -0,0 +1,16 @@ +image: 11notes/nginx:stable +manifests: + - image: 11notes/nginx:amd64-1.24.0 + platform: + architecture: amd64 + os: linux + - image: 11notes/nginx:arm64v8-1.24.0 + platform: + architecture: arm64 + os: linux + variant: v8 + - image: 11notes/nginx:arm32v7-1.24.0 + platform: + architecture: arm + os: linux + variant: v7 \ No newline at end of file