File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
jobs :
7
7
az-acr-push :
8
8
name : " Docker: Build & Push"
9
- runs-on : ${{ matrix.platform == 'amd64' && ' ubuntu-latest' || 'macos-14'}}
9
+ runs-on : ubuntu-latest
10
10
environment : dev
11
11
env :
12
12
AZURE_CONTAINER_REGISTRY : ${{ vars.AZURE_CONTAINER_REGISTRY }}
27
27
- name : Set up Docker Buildx
28
28
uses : docker/setup-buildx-action@v3
29
29
with :
30
- platforms : linux/${{ matrix.platform }}
30
+ platforms : linux/amd64,linux/arm64
31
31
32
32
- name : Log into Azure registry
33
33
uses : docker/login-action@v3
58
58
cache-from : type=gha
59
59
cache-to : type=gha,mode=max
60
60
build-args : |
61
- platform=linux/${{ matrix.platform }}
61
+ platform=linux/amd64,linux/arm64
62
62
label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/Dockerfile
63
63
64
64
- name : Build & Push ${{ github.event.repository.name }}:${{ matrix.platform }}-gpu
71
71
cache-from : type=gha
72
72
cache-to : type=gha,mode=max
73
73
build-args : |
74
- platform=linux/${{ matrix.platform }}
74
+ platform=linux/amd64,linux/arm64
75
75
label=dockerfile-path=https://github.com/${{ github.repository }}/blob/${{ github.sha }}/gpu.Dockerfile
You can’t perform that action at this time.
0 commit comments