Skip to content

Commit a8bc761

Browse files
committed
DEV: switch amd64 builds to debian-12 runners
We can use our self-hosted action/runner machines to build the amd64 Docker images, falling back to the Github action/runner machines for the arm64 builds.
1 parent ab957b2 commit a8bc761

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ jobs:
2727
echo "timestamp=$timestamp" >> $GITHUB_OUTPUT
2828
2929
base:
30-
# `ubuntu-22.04-8core` for arch amd64 non-scheduled builds
31-
# `ubuntu-22.04` for arch amd64 scheduled builds
32-
# `ubuntu-22.04-8core-arm` for arch arm64 non-scheduled builds
33-
# `ubuntu-22.04-2core-arm` for arch arm64 scheduled builds
34-
runs-on: ubuntu-22.04${{ ((github.event_name != 'schedule') && '-8core') || (( matrix.arch == 'arm64' && '-2core' ) || '') }}${{ (matrix.arch == 'arm64') && '-arm' || '' }}
30+
# `debian-12` for amd64 builds
31+
# `ubuntu-22.04-8core-arm` for arm64 non-scheduled builds
32+
# `ubuntu-22.04-2core-arm` for arm64 scheduled builds
33+
runs-on: ${{ (matrix.arch == 'amd64' && 'debian-12') || ((github.event_name == 'schedule' && '-8core-arm') || '-2core-arm') }}
3534
strategy:
3635
matrix:
3736
arch: [amd64, arm64]

0 commit comments

Comments
 (0)