Skip to content

Commit 4cfc6f6

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

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/image.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ name: image
1818
on:
1919
push:
2020
branches:
21-
- "pull-request/[0-9]+"
2221
- main
22+
- "pull-request/[0-9]+"
2323
- release-*
2424

2525
jobs:
2626
image:
27-
runs-on: ubuntu-latest
27+
runs-on: linux-amd64-cpu4
2828
strategy:
2929
matrix:
3030
driver:
@@ -81,6 +81,8 @@ jobs:
8181
image: tonistiigi/binfmt:qemu-v6.2.0
8282
- name: Set up Docker Buildx
8383
uses: docker/setup-buildx-action@v3
84+
with:
85+
buildkitd-config: /etc/buildkit/buildkitd.toml
8486
- name: Login to GitHub Container Registry
8587
uses: docker/login-action@v3
8688
with:
@@ -95,7 +97,7 @@ jobs:
9597
DRIVER_VERSIONS=${{ matrix.driver }} make build-${{ matrix.dist }}-${{ matrix.driver }}
9698
9799
pre-compiled:
98-
runs-on: ubuntu-latest
100+
runs-on: linux-amd64-cpu4
99101
strategy:
100102
matrix:
101103
driver:
@@ -158,6 +160,8 @@ jobs:
158160
image: tonistiigi/binfmt:qemu-v6.2.0
159161
- name: Set up Docker Buildx
160162
uses: docker/setup-buildx-action@v3
163+
with:
164+
buildkitd-config: /etc/buildkit/buildkitd.toml
161165
- name: Login to GitHub Container Registry
162166
uses: docker/login-action@v3
163167
with:

0 commit comments

Comments
 (0)