File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments