1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-03 01:38:24 -04:00

fix multiarch buildah command

This commit is contained in:
Qusic 2024-03-20 20:39:16 +08:00 committed by Xiaokang Wang (Shelikhoo)
parent 49b5068606
commit c7459b30e4

View File

@ -325,13 +325,15 @@ jobs:
v2Arch=$(echo $arch | cut -d: -f1) v2Arch=$(echo $arch | cut -d: -f1)
containerArch=$(echo $arch | cut -d: -f2) containerArch=$(echo $arch | cut -d: -f2)
bash ./release/container/downloadAssets.sh $VERSION $v2Arch $containerArch $v2Variant bash ./release/container/downloadAssets.sh $VERSION $v2Arch $containerArch $v2Variant
buildah bud \ for tag in $variantTags; do
$(formatEach "--tag $image:{}" $variantTags) \ buildah bud \
--file ./release/container/Containerfile \ --manifest $image:$tag \
--platform linux/$containerArch \ --file ./release/container/Containerfile \
--timestamp $timestamp \ --platform linux/$containerArch \
--squash \ --timestamp $timestamp \
./context/linux/$containerArch/$v2Variant --squash \
./context/linux/$containerArch/$v2Variant
done
done done
done done