Skip to content

Commit 7047495

Browse files
committed
[CI] use nv-hosted action runners for image builds
Signed-off-by: Tariq Ibrahim <[email protected]>
1 parent aad5cf0 commit 7047495

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/image.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ on:
2020
branches:
2121
- "pull-request/[0-9]+"
2222
- main
23+
- "pull-request/[0-9]+"
2324
- release-*
2425

2526
jobs:
2627
image:
27-
runs-on: ubuntu-latest
28+
runs-on: linux-amd64-cpu4
2829
strategy:
2930
matrix:
3031
driver:
@@ -81,6 +82,8 @@ jobs:
8182
image: tonistiigi/binfmt:qemu-v6.2.0
8283
- name: Set up Docker Buildx
8384
uses: docker/setup-buildx-action@v3
85+
with:
86+
buildkitd-config: /etc/buildkit/buildkitd.toml
8487
- name: Login to GitHub Container Registry
8588
uses: docker/login-action@v3
8689
with:
@@ -95,7 +98,7 @@ jobs:
9598
DRIVER_VERSIONS=${{ matrix.driver }} make build-${{ matrix.dist }}-${{ matrix.driver }}
9699
97100
pre-compiled:
98-
runs-on: ubuntu-latest
101+
runs-on: linux-amd64-cpu4
99102
strategy:
100103
matrix:
101104
driver:
@@ -158,6 +161,8 @@ jobs:
158161
image: tonistiigi/binfmt:qemu-v6.2.0
159162
- name: Set up Docker Buildx
160163
uses: docker/setup-buildx-action@v3
164+
with:
165+
buildkitd-config: /etc/buildkit/buildkitd.toml
161166
- name: Login to GitHub Container Registry
162167
uses: docker/login-action@v3
163168
with:

0 commit comments

Comments
 (0)