File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 2626 - name : Build and Push Commit Image
2727 if : github.event_name == 'push'
2828 run : sh push-images.sh
29+
30+ - name : Upload Build Artifacts
31+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
32+ with :
33+ name : multiarch-docker-images
34+ path : |
35+ *.tar.gz
Original file line number Diff line number Diff line change 2828 fi
2929 fi
3030 echo " building $image => ` cat nametag` ..."
31- docker buildx build --push --platform linux/amd64,linux/arm64 -t acmestack/` cat nametag` .
31+ docker buildx build \
32+ --push \
33+ --platform linux/amd64,linux/arm64 \
34+ --output type=tar,dest=/tmp/${nametag} .tar \
35+ -t acmestack/` cat nametag` \ .
36+ # gzip and move
37+ gzip /tmp/${nametag} .tar
38+ mv /tmp/${nametag} .tar.gz " ../../${image} _amd64_arm64_${current_date} .tar.gz"
39+
40+ echo " ✅ Saved as ${image} _amd64_arm64_${current_date} .tar.gz"
3241 echo " done."
3342 cd ..
3443 fi
You can’t perform that action at this time.
0 commit comments