include riscv64 in push-manifest script

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher 2025-01-03 13:58:20 +02:00
parent 709a945207
commit b7cc91e875
2 changed files with 6 additions and 1 deletions

View File

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

View File

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