Skip to content

Commit f6da42c

Browse files
committed
docker.sh: Introduce RISC-V support for manual operations
Add code for RISC-V specific tagging. Signed-off-by: Ruoqing He <[email protected]>
1 parent ee3bbbe commit f6da42c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ print_image_name() {
2525
# Builds the tag for the newest versions. It needs the last published version number.
2626
# Returns a valid docker tag.
2727
build_tag(){
28-
new_tag=${print_next_version}_$ARCH
28+
if [ "$ARCH" == "riscv64" ]; then
29+
new_tag=${print_next_version}-riscv
30+
else
31+
new_tag=${print_next_version}_$ARCH
32+
fi
2933
echo "$new_tag"
3034
}
3135

0 commit comments

Comments
 (0)