Skip to content

Commit d1e8254

Browse files
committed
fix: add platforms arg to docker/build-push-action
1 parent 591efe7 commit d1e8254

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
with:
2525
submodules: 'true'
2626

27-
- name: Set up QEMU
28-
uses: docker/setup-qemu-action@v3
29-
with:
30-
platforms: arm64,arm
27+
# - name: Set up QEMU
28+
# uses: docker/setup-qemu-action@v3
29+
# with:
30+
# platforms: arm64,arm
3131

3232
- name: Set up Docker Buildx
3333
uses: docker/setup-buildx-action@v3
@@ -62,6 +62,7 @@ jobs:
6262
tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ matrix.platform }}-${{ steps.branch_name.outputs.GH_REF_NAME }}
6363
cache-from: type=gha
6464
cache-to: type=gha,mode=max
65+
platforms: linux/${{ matrix.platform }}
6566
build-args: |
6667
platform=linux/${{ matrix.platform }}
6768
label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/Dockerfile

0 commit comments

Comments
 (0)