1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2025-05-13 18:09:30 +02:00

update and split docs

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-09-18 00:24:58 +02:00
parent f385c9ed95
commit 86f43c11f1
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 154 additions and 178 deletions

View file

@ -0,0 +1,29 @@
# Standalone mode
If you don't have the Docker CLI installed on the GitHub Runner, Buildx binary
is invoked directly, instead of calling it as a docker plugin. This can be
useful if you want to use the `kubernetes` driver in your self-hosted runner:
```yaml
name: ci
on:
push:
jobs:
buildx:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver: kubernetes
-
name: Build
run: |
buildx build .
```