Skip to content

Commit 60e679a

Browse files
pin runner to ubuntu-24.04
1 parent 9780ffc commit 60e679a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
runner: ['ubuntu-latest', 'ubuntu-24.04-arm']
16+
runner:
17+
- ubuntu-24.04
18+
- ubuntu-24.04-arm
1719
runs-on: ${{ matrix.runner }}
1820
outputs:
1921
build-image: ${{ steps.build-meta.outputs.tags }}
@@ -54,14 +56,14 @@ jobs:
5456
cache-from: type=registry,ref=${{ steps.cache-meta.outputs.tags }}
5557
cache-to: type=registry,ref=${{ steps.cache-meta.outputs.tags }},mode=max
5658
labels: ${{ steps.build-meta.outputs.labels }}
57-
platforms: ${{ matrix.runner == 'ubuntu-latest' && 'linux/amd64' || 'linux/arm64' }}
59+
platforms: ${{ matrix.runner == 'ubuntu-24.04' && 'linux/amd64' || 'linux/arm64' }}
5860
provenance: true
5961
push: true
6062
sbom: true
6163
tags: ${{ steps.build-meta.outputs.tags }}
6264

6365
test:
64-
runs-on: ubuntu-latest
66+
runs-on: ubuntu-24.04
6567
needs:
6668
- build
6769
env:
@@ -88,7 +90,7 @@ jobs:
8890
docker compose exec app bin/test
8991
9092
push:
91-
runs-on: ubuntu-latest
93+
runs-on: ubuntu-24.04
9294
needs:
9395
- build
9496
- test

0 commit comments

Comments
 (0)