Permalink
Cannot retrieve contributors at this time
29 lines (25 sloc)
604 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
docker-buildx-action/docs/advanced/standalone.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 . | |
``` |