You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,48 @@ The token must be a JSON object with exactly these fields:
37
37
| Input | Required | Description |
38
38
| --- | --- | --- |
39
39
|`token`| Yes | JSON token containing registry credentials and Wiz API client credentials. |
40
+
|`install-only`| No | Only pull and cache the Wiz Sensor image without starting it. Defaults to `false`. Useful for pre-warming custom GitHub runner images. |
When you build a [custom image for GitHub-hosted larger runners](https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images),
45
+
you can bake the Wiz Sensor image into the image so that it does not have to be
46
+
downloaded on every job. Run the action with `install-only: true` in your
47
+
image-generation (`snapshot`) workflow. In this mode the action pulls the sensor
48
+
image into the local Docker daemon and exits without starting the sensor. The
49
+
same `token` is used as for a normal run.
50
+
51
+
The Docker image is the only artifact worth caching ahead of time. The sensor
52
+
refreshes its detection content at runtime, so nothing else needs to be prepared
0 commit comments