Skip to content

Commit 6d20e72

Browse files
authored
Merge pull request #30 from devilbox/release-0.1.42
Ensure buildx is installed
2 parents 71753fc + 2e990bc commit 6d20e72

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/docker-multistage-build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,17 @@ jobs:
6565
ref: ${{ matrix.refs }}
6666
if: ${{ inputs.has_refs }}
6767

68-
- name: "[SETUP] Setup QEMU environment"
68+
- name: "[SETUP] Install QEMU environment"
6969
uses: docker/setup-qemu-action@v1
70+
id: qemu
7071
with:
7172
image: tonistiigi/binfmt:latest
7273
platforms: all
7374

75+
- name: "[SETUP] Install Docker Buildx"
76+
id: buildx
77+
uses: buluma/setup-buildx-action@v1
78+
7479
- name: "[SETUP] Set artifact names"
7580
id: set-artifact-name
7681
run: |
@@ -83,6 +88,12 @@ jobs:
8388
echo "::set-output name=prev::${NAME_PREV}"
8489
echo "::set-output name=curr::${NAME_CURR}"
8590
91+
- name: "[DEBUG] Show setup"
92+
shell: bash
93+
run: |
94+
echo 'buildx platforms: ${{ steps.buildx.outputs.platforms }}'
95+
echo 'qemu platforms: ${{ steps.qemu.outputs.platforms }}'
96+
8697
8798
# ------------------------------------------------------------
8899
# Artifact Import

0 commit comments

Comments
 (0)