multi arch

This commit is contained in:
11notes
2022-11-03 11:45:42 +01:00
parent bb1eb6119b
commit 9aae3d73d0
2 changed files with 20 additions and 0 deletions

4
hooks/post_push Normal file
View File

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

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

@@ -0,0 +1,16 @@
image: 11notes/nginx:1.22.1
manifests:
- image: 11notes/nginx:amd64-1.22.1
platform:
architecture: amd64
os: linux
- image: 11notes/nginx:arm64v8-1.22.1
platform:
architecture: arm64
os: linux
variant: v8
- image: 11notes/nginx:arm32v7-1.22.1
platform:
architecture: arm
os: linux
variant: v7