Skip to content

Commit

Permalink
feat(build): container images for the RISC-V architecture
Browse files Browse the repository at this point in the history
RISC-V not being supported in Alpine 3.16, we'll use "edge" as the base image for the time being.
  • Loading branch information
npdgm committed Sep 19, 2022
1 parent fbe127c commit a813e99
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,19 @@ jobs:
base_archs=()
base_archs+=(amd64)
base_archs+=(arm64)
base_archs+=(riscv64)
for container_arch in ${base_archs[@]} ; do
job "${base_image}: assembling image for: ${container_arch}"
if [[ "${base_tag}" != "" ]] ; then
container_base="docker://${base_image}:${base_tag}"
# FIXME exceptions for RISC-V
if [[ "${container_arch}" == "riscv64" && "${base_image}" == "alpine" ]] ; then
# use 'edge' waiting for version 3.17
container_base="docker://${base_image}:edge"
else
container_base="docker://${base_image}:${base_tag}"
fi
else
container_base="${base_image}"
fi
Expand Down

0 comments on commit a813e99

Please sign in to comment.