add multiarch
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1 @@
|
||||
maintain/
|
||||
multi-arch-manifest.yaml
|
||||
post_push
|
4
hooks/post_push
Normal file
4
hooks/post_push
Normal 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
|
11
multi-arch-manifest.yaml
Normal file
11
multi-arch-manifest.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
image: 11notes/nginx:1.18.0
|
||||
manifests:
|
||||
- image: 11notes/nginx:amd64-1.18.0
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
- image: 1notes/nginx:arm64v8-1.18.0
|
||||
platform:
|
||||
architecture: arm64
|
||||
os: linux
|
||||
variant: v8
|
Reference in New Issue
Block a user