From 0e57049832d6a629fe72faa620115c2cc902f462 Mon Sep 17 00:00:00 2001 From: bunkerity Date: Wed, 7 Oct 2020 17:25:36 +0200 Subject: [PATCH] manifest for automated builds --- hooks/post_push | 6 ++++++ multi-arch-manifest.yaml | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 hooks/post_push create mode 100644 multi-arch-manifest.yaml diff --git a/hooks/post_push b/hooks/post_push new file mode 100644 index 0000000..30f4df8 --- /dev/null +++ b/hooks/post_push @@ -0,0 +1,6 @@ +#!/bin/bash + +curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download/v1.0.3/manifest-tool-linux-amd64 +chmod +x manifest-tool + +./manifest-tool push from-spec multi-arch-manifest.yaml diff --git a/multi-arch-manifest.yaml b/multi-arch-manifest.yaml new file mode 100644 index 0000000..8abedea --- /dev/null +++ b/multi-arch-manifest.yaml @@ -0,0 +1,16 @@ +image: bunkerity/bunkerized-nginx:dev +manifests: + - image: bunkerity/bunkerized-nginx:dev-amd64 + platform: + architecture: amd64 + os: linux + - image: bunkerity/bunkerized-nginx:dev-arm32v7 + platform: + architecture: arm + os: linux + variant: v7 + - image: bunkerity/bunkerized-nginx:dev-i386 + platform: + architecture: 386 + os: linux +