mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-22 14:46:39 +02:00
Add driver and driver-opt inputs for setup-buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
4bde7b156d
commit
5cec6ce786
8 changed files with 80 additions and 19 deletions
40
.github/workflows/setup-buildx-ci.yml
vendored
40
.github/workflows/setup-buildx-ci.yml
vendored
|
@ -15,7 +15,7 @@ on:
|
|||
- setup-buildx/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -62,6 +62,44 @@ jobs:
|
|||
run: |
|
||||
docker build --help
|
||||
|
||||
driver:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
driver:
|
||||
- docker-container
|
||||
- docker
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2.3.1
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: ./setup-buildx/
|
||||
with:
|
||||
driver: ${{ matrix.driver }}
|
||||
|
||||
driver-opt:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
driver-opt:
|
||||
- image=moby/buildkit:latest
|
||||
- image=moby/buildkit:master
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2.3.1
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: ./setup-buildx/
|
||||
with:
|
||||
driver-opt: ${{ matrix.driver-opt }}
|
||||
|
||||
with-qemu:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
|
2
.github/workflows/setup-qemu-ci.yml
vendored
2
.github/workflows/setup-qemu-ci.yml
vendored
|
@ -15,7 +15,7 @@ on:
|
|||
- setup-qemu/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue