Skip to content

Commit 3444970

Browse files
authored
Enhance Docker action with QEMU and platform support
1 parent 94fb88f commit 3444970

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/actions/build-publish-image/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ runs:
1616
username: ${{ github.repository_owner }}
1717
password: ${{ env.GH_TOKEN }}
1818

19+
-
20+
# Add support for more platforms with QEMU (optional)
21+
# https://github.com/docker/setup-qemu-action
22+
name: Set up QEMU
23+
uses: docker/setup-qemu-action@v4
24+
-
25+
name: Set up Docker Buildx
26+
uses: docker/setup-buildx-action@v4
1927
- name: Print release version input
2028
shell: bash
2129
run: echo "Input release version =${{ inputs.version }}"
@@ -34,6 +42,7 @@ runs:
3442
with:
3543
context: .
3644
file: ./Dockerfile
45+
platforms: linux/amd64,linux/arm64
3746
push: true
3847
tags: ${{ steps.meta.outputs.tags }}
39-
labels: ${{ steps.meta.outputs.labels }}
48+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)