mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-22 14:46:39 +02:00
Check Buildx version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
f11192a27b
commit
3e57a3300a
7 changed files with 2241 additions and 13 deletions
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
|
@ -13,6 +13,12 @@ on:
|
|||
jobs:
|
||||
single:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
buildx-version:
|
||||
- ""
|
||||
- latest
|
||||
steps:
|
||||
-
|
||||
name: Run local registry
|
||||
|
@ -31,6 +37,7 @@ jobs:
|
|||
id: buildx
|
||||
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
|
||||
with:
|
||||
version: ${{ matrix.buildx-version }}
|
||||
driver-opt: network=host
|
||||
buildkitd-flags: --allow-insecure-entitlement security.insecure
|
||||
-
|
||||
|
@ -63,6 +70,9 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
buildx-version:
|
||||
- ""
|
||||
- latest
|
||||
dockerfile:
|
||||
- multi
|
||||
- multi-sudo
|
||||
|
@ -84,6 +94,7 @@ jobs:
|
|||
id: buildx
|
||||
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
|
||||
with:
|
||||
version: ${{ matrix.buildx-version }}
|
||||
driver-opt: network=host
|
||||
buildkitd-flags: --allow-insecure-entitlement security.insecure
|
||||
-
|
||||
|
@ -110,6 +121,12 @@ jobs:
|
|||
|
||||
git-context:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
buildx-version:
|
||||
#- "" # GIT_AUTH_TOKEN not available in the current version on the GitHub Runner
|
||||
- latest
|
||||
steps:
|
||||
-
|
||||
name: Run local registry
|
||||
|
@ -128,7 +145,7 @@ jobs:
|
|||
id: buildx
|
||||
uses: ./setup-buildx/ # change to docker/setup-buildx-action@master
|
||||
with:
|
||||
version: latest
|
||||
version: ${{ matrix.buildx-version }}
|
||||
driver-opt: network=host
|
||||
buildkitd-flags: --allow-insecure-entitlement security.insecure
|
||||
-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue