mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-06-14 07:27:13 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
ce60bfdfe1 | |||
24d5692d29 | |||
c322702919 | |||
ba6df22a99 | |||
751eb0de7b |
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -131,6 +131,18 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: crazy-max/ghaction-dump-context@v2
|
uses: crazy-max/ghaction-dump-context@v2
|
||||||
|
|
||||||
|
colima-start-args:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
-
|
||||||
|
name: Set up Docker
|
||||||
|
uses: ./
|
||||||
|
env:
|
||||||
|
COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32 --dns 1.1.1.1 --dns 8.8.8.8 --dns-host example.com=1.2.3.4
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
23
README.md
23
README.md
@ -16,6 +16,7 @@ ___
|
|||||||
* [Usage](#usage)
|
* [Usage](#usage)
|
||||||
* [Quick start](#quick-start)
|
* [Quick start](#quick-start)
|
||||||
* [Daemon configuration](#daemon-configuration)
|
* [Daemon configuration](#daemon-configuration)
|
||||||
|
* [Define custom `colima start` arguments (macOS)](#define-custom-colima-start-arguments-macos)
|
||||||
* [Customizing](#customizing)
|
* [Customizing](#customizing)
|
||||||
* [inputs](#inputs)
|
* [inputs](#inputs)
|
||||||
* [Notes](#notes)
|
* [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
|
## Customizing
|
||||||
|
|
||||||
### inputs
|
### inputs
|
||||||
|
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -22,7 +22,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.0",
|
"@actions/core": "^1.10.0",
|
||||||
"@docker/actions-toolkit": "^0.11.0",
|
"@docker/actions-toolkit": "^0.12.0-rc.1",
|
||||||
"uuid": "^9.0.0"
|
"uuid": "^9.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -480,10 +480,10 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@cspotcode/source-map-consumer" "0.8.0"
|
"@cspotcode/source-map-consumer" "0.8.0"
|
||||||
|
|
||||||
"@docker/actions-toolkit@^0.11.0":
|
"@docker/actions-toolkit@^0.12.0-rc.1":
|
||||||
version "0.11.0"
|
version "0.12.0-rc.1"
|
||||||
resolved "https://registry.yarnpkg.com/@docker/actions-toolkit/-/actions-toolkit-0.11.0.tgz#008af613803161f945c75392b5b90d6f64e63f57"
|
resolved "https://registry.yarnpkg.com/@docker/actions-toolkit/-/actions-toolkit-0.12.0-rc.1.tgz#a6a163770c776db4c32106e497d752b91378cff1"
|
||||||
integrity sha512-ud2ZZfNpmOP3ayqINhXG9M6CmRN41gRWydMAuU0GP9Q1oZETAn81Qy3lYSvCB3eD57Hyl4PtAq56SxsIq+twSQ==
|
integrity sha512-/p/zoVOh6UePqtRu49c/bI5oxOfs2GvPL9s8DL5y02swkx6kETEpwyMRbYTalDVlvsTcDJwPF8UbLZRheuaxFA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/cache" "^3.2.2"
|
"@actions/cache" "^3.2.2"
|
||||||
"@actions/core" "^1.10.0"
|
"@actions/core" "^1.10.0"
|
||||||
|
Reference in New Issue
Block a user