File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 7575 - name : Set up QEMU
7676 uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
7777
78+ - name : Set up Docker Buildx
79+ uses : docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
80+ id : buildx
81+ with :
82+ install : true
83+
84+ - name : Available Docker Platforms
85+ run : echo ${{ steps.buildx.outputs.platforms }}
86+
7887 - name : Build Debian package
7988 id : builder
8089 env :
@@ -84,12 +93,13 @@ jobs:
8493 run : |
8594 TARGET="${GOARCH}"
8695 if [[ -n "${GOARM}" ]]; then
87- TARGET="${GOARCH}v${GOARM}"
96+ TARGET="${GOARCH}/ v${GOARM}"
8897 fi
89- PKG_ARCH="${TARGET//v8}"
98+ PKG_ARCH="${TARGET//\/ v8}"
9099 PKG_ARCH="${PKG_ARCH//32}"
91- make debian DEB_IMG_ARCH=${TARGET} PKG_ARCH=${PKG_ARCH}
92- echo "filename=${{ inputs.product }}-deb-${PKG_ARCH}" >> $GITHUB_OUTPUT
100+ echo "DOCKER_PLATFORM: ${PKG_ARCH}"
101+ make debian DOCKER_PLATFORM=${PKG_ARCH}
102+ echo "filename=${{ inputs.product }}-deb-${PKG_ARCH//\/}" >> $GITHUB_OUTPUT
93103
94104 - name : Upload artifacts
95105 uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
You can’t perform that action at this time.
0 commit comments