mirror of
https://github.com/moby/buildkit.git
synced 2026-08-07 08:10:44 +00:00
ci(validate): choose best matching runner
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
8
.github/workflows/validate.yml
vendored
8
.github/workflows/validate.yml
vendored
@@ -61,12 +61,14 @@ jobs:
|
||||
target.platforms.forEach(platform => {
|
||||
includes.push({
|
||||
target: targetName,
|
||||
platform: platform
|
||||
platform: platform,
|
||||
runner: platform.startsWith('linux/arm') ? 'ubuntu-24.04-arm' : 'ubuntu-24.04'
|
||||
});
|
||||
});
|
||||
} else {
|
||||
includes.push({
|
||||
target: targetName
|
||||
target: targetName,
|
||||
runner: 'ubuntu-24.04'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -75,7 +77,7 @@ jobs:
|
||||
});
|
||||
|
||||
validate:
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ${{ matrix.runner }}
|
||||
needs:
|
||||
- prepare
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user