mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +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
|
# Push manifest list
|
||||||
OUT=$(manifest-tool $MT_ARGS push from-args \
|
OUT=$(manifest-tool $MT_ARGS push from-args \
|
||||||
--ignore-missing \
|
--ignore-missing \
|
||||||
--platforms linux/amd64,linux/arm64,linux/s390x \
|
--platforms linux/amd64,linux/arm64,linux/s390x,linux/riscv64 \
|
||||||
--template "$TARGET"-ARCH \
|
--template "$TARGET"-ARCH \
|
||||||
--target "$TARGET")
|
--target "$TARGET")
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ IMAGE=$2
|
|||||||
IMG_X86_64=$(head -1 versions.x86_64 | sed 's,[#| ]*,,')
|
IMG_X86_64=$(head -1 versions.x86_64 | sed 's,[#| ]*,,')
|
||||||
IMG_ARM64=$(head -1 versions.aarch64 | sed 's,[#| ]*,,')
|
IMG_ARM64=$(head -1 versions.aarch64 | sed 's,[#| ]*,,')
|
||||||
IMG_s390x=$(head -1 versions.s390x | 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
|
# 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}')
|
TAG=$(git ls-tree --full-tree HEAD -- $(pwd) | awk '{print $3}')
|
||||||
DIRTY=$(git diff-index HEAD -- $(pwd))
|
DIRTY=$(git diff-index HEAD -- $(pwd))
|
||||||
@ -42,6 +43,10 @@ manifests:
|
|||||||
platform:
|
platform:
|
||||||
architecture: s390x
|
architecture: s390x
|
||||||
os: linux
|
os: linux
|
||||||
|
- image: $IMG_RISCV64
|
||||||
|
platform:
|
||||||
|
architecture: riscv64
|
||||||
|
os: linux
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Work out credentials. On macOS they are needed for manifest-tool and
|
# Work out credentials. On macOS they are needed for manifest-tool and
|
||||||
|
Loading…
Reference in New Issue
Block a user