Skip to content

Commit

Permalink
fix multiarch buildah command
Browse files Browse the repository at this point in the history
  • Loading branch information
Qusic committed Mar 20, 2024
1 parent 49b5068 commit d2d134d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,13 +325,15 @@ jobs:
v2Arch=$(echo $arch | cut -d: -f1)
containerArch=$(echo $arch | cut -d: -f2)
bash ./release/container/downloadAssets.sh $VERSION $v2Arch $containerArch $v2Variant
buildah bud \
$(formatEach "--tag $image:{}" $variantTags) \
--file ./release/container/Containerfile \
--platform linux/$containerArch \
--timestamp $timestamp \
--squash \
./context/linux/$containerArch/$v2Variant
for tag in $variantTags; do
buildah bud \
--manifest $image:$tag \
--file ./release/container/Containerfile \
--platform linux/$containerArch \
--timestamp $timestamp \
--squash \
./context/linux/$containerArch/$v2Variant
done
done
done
Expand Down

0 comments on commit d2d134d

Please sign in to comment.