File tree Expand file tree Collapse file tree 2 files changed +34
-26
lines changed
Expand file tree Collapse file tree 2 files changed +34
-26
lines changed Original file line number Diff line number Diff line change 66curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download/v0.9.0/manifest-tool-linux-amd64
77chmod +x manifest-tool
88
9+ git_tag=$( git describe --abbrev=0 --tags)
10+ IFS=. read major minor bugfix << EOF
11+ ${git_tag##* v}
12+ EOF
13+
14+ cat << EOF > multi-arch-manifest.yaml
15+ image: subspacecommunity/subspace
16+ tags: ['${major} .${minor} .${bugfix} ', '${major} .${minor} ', '${major} ']
17+ manifests:
18+ - image: subspacecommunity/subspace:amd64
19+ platform:
20+ architecture: amd64
21+ os: linux
22+ - image: subspacecommunity/subspace:386
23+ platform:
24+ architecture: 386
25+ os: linux
26+ - image: subspacecommunity/subspace:arm32v6
27+ platform:
28+ architecture: arm
29+ os: linux
30+ variant: v6
31+ - image: subspacecommunity/subspace:arm32v7
32+ platform:
33+ architecture: arm
34+ os: linux
35+ variant: v7
36+ - image: subspacecommunity/subspace:arm64v8
37+ platform:
38+ architecture: arm64
39+ os: linux
40+ variant: v8
41+ EOF
42+
943./manifest-tool push from-spec multi-arch-manifest.yaml
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments