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*' - 'releases/v*'
pull_request: pull_request:
env:
SETUP_BUILDX_VERSION: "edge"
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver: docker
- -
name: Test name: Test
uses: docker/bake-action@v6 uses: docker/bake-action@v6

View File

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