mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
include riscv64 in push-manifest script
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
parent
709a945207
commit
b7cc91e875
@ -52,7 +52,7 @@ fi
|
||||
# Push manifest list
|
||||
OUT=$(manifest-tool $MT_ARGS push from-args \
|
||||
--ignore-missing \
|
||||
--platforms linux/amd64,linux/arm64,linux/s390x \
|
||||
--platforms linux/amd64,linux/arm64,linux/s390x,linux/riscv64 \
|
||||
--template "$TARGET"-ARCH \
|
||||
--target "$TARGET")
|
||||
|
||||
|
@ -17,6 +17,7 @@ IMAGE=$2
|
||||
IMG_X86_64=$(head -1 versions.x86_64 | sed 's,[#| ]*,,')
|
||||
IMG_ARM64=$(head -1 versions.aarch64 | sed 's,[#| ]*,,')
|
||||
IMG_s390x=$(head -1 versions.s390x | sed 's,[#| ]*,,')
|
||||
IMG_RISCV64=$(head -1 versions.riscv64 | sed 's,[#| ]*,,')
|
||||
# Extract the TAG from the tree hash - just like how "linuxkit pkg show-tag" does it - name and build the manifest target name
|
||||
TAG=$(git ls-tree --full-tree HEAD -- $(pwd) | awk '{print $3}')
|
||||
DIRTY=$(git diff-index HEAD -- $(pwd))
|
||||
@ -42,6 +43,10 @@ manifests:
|
||||
platform:
|
||||
architecture: s390x
|
||||
os: linux
|
||||
- image: $IMG_RISCV64
|
||||
platform:
|
||||
architecture: riscv64
|
||||
os: linux
|
||||
EOF
|
||||
|
||||
# Work out credentials. On macOS they are needed for manifest-tool and
|
||||
|
Loading…
Reference in New Issue
Block a user