added post hook for multi arch images

This commit is contained in:
john30
2021-01-17 17:10:15 +01:00
parent 3662a4f49c
commit dad9406721
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
curl -sLo manifest-tool "https://github.com/estesp/manifest-tool/releases/download/v1.0.3/manifest-tool-linux-amd64"
chmod +x manifest-tool
sed -e "s#%image_name%#$IMAGE_NAME#" manifest.template > manifest.yaml
./manifest-tool push from-spec manifest.yaml
+11
View File
@@ -0,0 +1,11 @@
image: %image_name%
manifests:
- image: %image_name%-amd64
platform:
architecture: amd64
os: linux
- image: %image_name%-arm32v7
platform:
architecture: arm
os: linux
variant: v7