Skip to content

Commit

Permalink
docker.sh: Introduce RISC-V support for manual operations
Browse files Browse the repository at this point in the history
Add code for RISC-V specific tagging.

Signed-off-by: Ruoqing He <[email protected]>
  • Loading branch information
RuoqingHe committed Jan 17, 2025
1 parent 37d7176 commit f500dde
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ print_image_name() {
# Builds the tag for the newest versions. It needs the last published version number.
# Returns a valid docker tag.
build_tag(){
new_tag=$(print_next_version)_$ARCH
if [ "$ARCH" == "riscv64" ]; then
new_tag=$(print_next_version)-riscv
else
new_tag=$(print_next_version)_$ARCH
fi
echo "$new_tag"
}

Expand Down

0 comments on commit f500dde

Please sign in to comment.