mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-16 08:58:22 -04:00
fix multiarch buildah command
This commit is contained in:
parent
49b5068606
commit
c7459b30e4
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -325,8 +325,9 @@ 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
|
||||||
|
for tag in $variantTags; do
|
||||||
buildah bud \
|
buildah bud \
|
||||||
$(formatEach "--tag $image:{}" $variantTags) \
|
--manifest $image:$tag \
|
||||||
--file ./release/container/Containerfile \
|
--file ./release/container/Containerfile \
|
||||||
--platform linux/$containerArch \
|
--platform linux/$containerArch \
|
||||||
--timestamp $timestamp \
|
--timestamp $timestamp \
|
||||||
@ -334,6 +335,7 @@ jobs:
|
|||||||
./context/linux/$containerArch/$v2Variant
|
./context/linux/$containerArch/$v2Variant
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
done
|
||||||
|
|
||||||
echo image=$image >> $GITHUB_OUTPUT
|
echo image=$image >> $GITHUB_OUTPUT
|
||||||
echo tags=$tags >> $GITHUB_OUTPUT
|
echo tags=$tags >> $GITHUB_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user