ci: use buildx edge

This commit is contained in:
CrazyMax 2025-01-23 13:25:15 +01:00
parent 3be541d14f
commit 30c2d5606a
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4
2 changed files with 18 additions and 0 deletions

View File

@ -11,10 +11,19 @@ on:
- 'releases/v*'
pull_request:
env:
SETUP_BUILDX_VERSION: "edge"
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver: docker
-
name: Test
uses: docker/bake-action@v6

View File

@ -11,6 +11,9 @@ on:
- 'releases/v*'
pull_request:
env:
SETUP_BUILDX_VERSION: "edge"
jobs:
prepare:
runs-on: ubuntu-latest
@ -36,6 +39,12 @@ jobs:
matrix:
target: ${{ fromJson(needs.prepare.outputs.targets) }}
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver: docker
-
name: Validate
uses: docker/bake-action@v6