mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-06-23 19:37:59 +02:00
docs: define custom "colima start" arguments
This commit is contained in:
23
README.md
23
README.md
@ -16,6 +16,7 @@ ___
|
||||
* [Usage](#usage)
|
||||
* [Quick start](#quick-start)
|
||||
* [Daemon configuration](#daemon-configuration)
|
||||
* [Define custom `colima start` arguments (macOS)](#define-custom-colima-start-arguments-macos)
|
||||
* [Customizing](#customizing)
|
||||
* [inputs](#inputs)
|
||||
* [Notes](#notes)
|
||||
@ -71,6 +72,28 @@ jobs:
|
||||
}
|
||||
```
|
||||
|
||||
### Define custom `colima start` arguments (macOS)
|
||||
|
||||
You can define custom [`colima start` arguments](https://github.com/abiosoft/colima#customizing-the-vm)
|
||||
using the `COLIMA_START_ARGS` environment variable to customize the VM:
|
||||
|
||||
```yaml
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
-
|
||||
name: Set up Docker
|
||||
uses: crazy-max/ghaction-setup-docker@v1
|
||||
env:
|
||||
COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32
|
||||
```
|
||||
|
||||
## Customizing
|
||||
|
||||
### inputs
|
||||
|
Reference in New Issue
Block a user