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