Skip to content

Commit 30c2d56

Browse files
committed
ci: use buildx edge
1 parent 3be541d commit 30c2d56

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@ on:
1111
- 'releases/v*'
1212
pull_request:
1313

14+
env:
15+
SETUP_BUILDX_VERSION: "edge"
16+
1417
jobs:
1518
test:
1619
runs-on: ubuntu-latest
1720
steps:
21+
-
22+
name: Set up Docker Buildx
23+
uses: docker/setup-buildx-action@v3
24+
with:
25+
version: ${{ env.SETUP_BUILDX_VERSION }}
26+
driver: docker
1827
-
1928
name: Test
2029
uses: docker/bake-action@v6

.github/workflows/validate.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- 'releases/v*'
1212
pull_request:
1313

14+
env:
15+
SETUP_BUILDX_VERSION: "edge"
16+
1417
jobs:
1518
prepare:
1619
runs-on: ubuntu-latest
@@ -36,6 +39,12 @@ jobs:
3639
matrix:
3740
target: ${{ fromJson(needs.prepare.outputs.targets) }}
3841
steps:
42+
-
43+
name: Set up Docker Buildx
44+
uses: docker/setup-buildx-action@v3
45+
with:
46+
version: ${{ env.SETUP_BUILDX_VERSION }}
47+
driver: docker
3948
-
4049
name: Validate
4150
uses: docker/bake-action@v6

0 commit comments

Comments
 (0)