From b7cc91e875c719bb908cf0a8d6ed50ab4b67c8f2 Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Fri, 3 Jan 2025 13:58:20 +0200 Subject: [PATCH] include riscv64 in push-manifest script Signed-off-by: Avi Deitcher --- scripts/push-manifest.sh | 2 +- tools/alpine/push-manifest.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/push-manifest.sh b/scripts/push-manifest.sh index 030608ac6..e6417efd5 100755 --- a/scripts/push-manifest.sh +++ b/scripts/push-manifest.sh @@ -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") diff --git a/tools/alpine/push-manifest.sh b/tools/alpine/push-manifest.sh index f074eabed..82109bc08 100755 --- a/tools/alpine/push-manifest.sh +++ b/tools/alpine/push-manifest.sh @@ -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