Skip to content

Commit d005f1e

Browse files
committed
Use enterprise/self-hosted runners
1 parent 4b52c20 commit d005f1e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/bakery-build-native.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,19 @@ on:
4040
description: "GitHub App private key with access to posit-dev repositories"
4141
required: true
4242

43+
env:
44+
DEFAULT_RUNNER: ubuntu-latest
45+
AMD64_RUNNER: ubuntu-latest-4x
46+
ARM64_RUNNER: ubuntu-24.04-arm64-4-core
47+
4348
defaults:
4449
run:
4550
shell: bash
4651

4752
jobs:
4853
matrix:
4954
name: Image Matrix
50-
runs-on: ubuntu-24.04
55+
runs-on: ${{ env.DEFAULT_RUNNER }}
5156
outputs:
5257
platform-matrix: ${{ steps.images-by-platform.outputs.platform_matrix }}
5358
versions-matrix: ${{ steps.images-by-version.outputs.versions_matrix }}
@@ -89,7 +94,7 @@ jobs:
8994
fail-fast: false
9095
matrix:
9196
img: ${{ fromJson(needs.matrix.outputs.platform-matrix) }}
92-
runs-on: ${{ matrix.img.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
97+
runs-on: ${{ matrix.img.platform == 'linux/arm64' && env.ARM64_RUNNER || env.AMD64_RUNNER }}
9398

9499
steps:
95100
- name: Checkout
@@ -186,7 +191,7 @@ jobs:
186191
fail-fast: false
187192
matrix:
188193
img: ${{ fromJson(needs.matrix.outputs.versions-matrix) }}
189-
runs-on: ubuntu-24.04
194+
runs-on: ${{ env.DEFAULT_RUNNER }}
190195

191196
steps:
192197
- name: Checkout

0 commit comments

Comments
 (0)