1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2024-11-25 04:39:02 +00:00
setup-buildx-action/docs/advanced/install-default.md

29 lines
472 B
Markdown
Raw Normal View History

# 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
```