Skip to content

Commit efc5708

Browse files
committed
fix: docker platform param for arm64/v8
1 parent 999be14 commit efc5708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
cache-from: type=gha
5757
cache-to: type=gha,mode=max
5858
build-args: |
59-
platform=linux/${{ matrix.platform == 'arm64/v8' && 'arm64' || 'amd64' }}
59+
platform=linux/${{ matrix.platform }}
6060
label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/Dockerfile
6161
6262
- name: Build & Push ${{ github.event.repository.name }}:${{ matrix.platform == 'arm64/v8' && 'arm64' || 'amd64' }}-gpu
@@ -69,5 +69,5 @@ jobs:
6969
cache-from: type=gha
7070
cache-to: type=gha,mode=max
7171
build-args: |
72-
platform=linux/${{ matrix.platform == 'arm64/v8' && 'arm64' || 'amd64' }}
72+
platform=linux/${{ matrix.platform }}
7373
label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/gpu.Dockerfile

0 commit comments

Comments
 (0)