Skip to content

Commit 634f84e

Browse files
committed
split arch imaeg
1 parent 610ad95 commit 634f84e

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

images/envoyproxy/policy

Lines changed: 0 additions & 1 deletion
This file was deleted.

push-images.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,20 @@ do
3030
echo "building $image => `cat nametag`..."
3131
docker buildx build \
3232
--push \
33-
--platform linux/amd64,linux/arm64 \
34-
--output type=tar,dest=/tmp/${nametag}.tar \
33+
--platform linux/amd64 \
34+
--output type=tar,dest=/tmp/${nametag}_amd64.tar \
35+
-t acmestack/`cat nametag` .
36+
docker buildx build \
37+
--push \
38+
--platform linux/arm64 \
39+
--output type=tar,dest=/tmp/${nametag}_arm64.tar \
3540
-t acmestack/`cat nametag` .
3641
# gzip and move
37-
gzip /tmp/${nametag}.tar
38-
mv /tmp/${nametag}.tar.gz "../../${image}_amd64_arm64_${current_date}.tar.gz"
42+
gzip /tmp/${nametag}_amd64.tar
43+
gzip /tmp/${nametag}_arm64.tar
44+
mv /tmp/${nametag}*.tar.gz "../../"
3945

40-
echo "✅ Saved as ${image}_amd64_arm64_${current_date}.tar.gz"
46+
echo "✅ Saved as ${image}.tar.gz"
4147
echo "done."
4248
cd ..
4349
fi

0 commit comments

Comments
 (0)