manifest for automated builds

This commit is contained in:
bunkerity 2020-10-07 17:25:36 +02:00
parent aaef370079
commit 0e57049832
2 changed files with 22 additions and 0 deletions

6
hooks/post_push Normal file
View File

@ -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

16
multi-arch-manifest.yaml Normal file
View File

@ -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