Skip to content

Commit a941581

Browse files
suecharomr-c
authored andcommitted
Add QEMU step and platforms field to the publish action for Arm Docker image
1 parent 36a8f78 commit a941581

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/quay-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
id: image_tags
1414
run: |
1515
echo -n ::set-output name=IMAGE_TAGS::${GITHUB_REF#refs/*/}
16+
- name: Set up QEMU
17+
uses: docker/setup-qemu-action@v2
1618
- name: Set up Docker Buildx
1719
uses: docker/setup-buildx-action@v2
1820
- name: Login to Quay.io
@@ -27,6 +29,7 @@ jobs:
2729
file: cwltool.Dockerfile
2830
tags: quay.io/commonwl/cwltool_module:${{ steps.image_tags.outputs.IMAGE_TAGS }}
2931
target: module
32+
platforms: linux/amd64,linux/arm64
3033
push: true
3134
cache-from: type=gha
3235
cache-to: type=gha,mode=max
@@ -35,6 +38,7 @@ jobs:
3538
with:
3639
file: cwltool.Dockerfile
3740
tags: quay.io/commonwl/cwltool:${{ steps.image_tags.outputs.IMAGE_TAGS }}
41+
platforms: linux/amd64,linux/arm64
3842
push: true
3943
cache-from: type=gha
4044
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)