File tree 2 files changed +35
-0
lines changed
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,18 @@ jobs:
131
131
if : always()
132
132
uses : crazy-max/ghaction-dump-context@v2
133
133
134
+ colima-start-args :
135
+ runs-on : macos-latest
136
+ steps :
137
+ -
138
+ name : Checkout
139
+ uses : actions/checkout@v3
140
+ -
141
+ name : Set up Docker
142
+ uses : ./
143
+ env :
144
+ 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
145
+
134
146
build-linux :
135
147
runs-on : ubuntu-latest
136
148
steps :
Original file line number Diff line number Diff line change 16
16
* [ Usage] ( #usage )
17
17
* [ Quick start] ( #quick-start )
18
18
* [ Daemon configuration] ( #daemon-configuration )
19
+ * [ Define custom ` colima start ` arguments (macOS)] ( #define-custom-colima-start-arguments-macos )
19
20
* [ Customizing] ( #customizing )
20
21
* [ inputs] ( #inputs )
21
22
* [ Notes] ( #notes )
71
72
}
72
73
` ` `
73
74
75
+ # ## Define custom `colima start` arguments (macOS)
76
+
77
+ You can define custom [`colima start` arguments](https://github.com/abiosoft/colima#customizing-the-vm)
78
+ using the `COLIMA_START_ARGS` environment variable to customize the VM :
79
+
80
+ ` ` ` yaml
81
+ name: ci
82
+
83
+ on:
84
+ push:
85
+
86
+ jobs:
87
+ docker:
88
+ runs-on: macos-latest
89
+ steps:
90
+ -
91
+ name: Set up Docker
92
+ uses: crazy-max/ghaction-setup-docker@v1
93
+ env:
94
+ COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32
95
+ ` ` `
96
+
74
97
# # Customizing
75
98
76
99
# ## inputs
You can’t perform that action at this time.
0 commit comments