mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-06-24 03:47:58 +02:00
update and split docs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
28
docs/advanced/install-default.md
Normal file
28
docs/advanced/install-default.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Install by default
|
||||
|
||||
If you want set up the `docker build` command as an alias to
|
||||
`docker buildx build`:
|
||||
|
||||
```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:
|
||||
install: true
|
||||
-
|
||||
name: Build
|
||||
run: |
|
||||
docker build . # will run buildx
|
||||
```
|
Reference in New Issue
Block a user