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: docs/ci.md
+35-4Lines changed: 35 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -240,15 +240,46 @@ jobs:
240
240
241
241
> Azure Workload Identity writes an OIDC token to a temp file on the runner. The `-v` mount makes that file accessible inside the container.
242
242
243
+
### GCP
244
+
245
+
GCP Application Default Credentials are resolved via a file-based mechanism. In GitHub Actions with Workload Identity Federation, `google-github-actions/auth@v2` exchanges the OIDC token and writes a short-lived credentials file to the runner filesystem, then sets `GOOGLE_APPLICATION_CREDENTIALS` to point to it. That file must be mounted into the container.
> The credentials file is short-lived and mounted read-only — no long-lived keys are exposed. The `test -f` guard catches a silent auth failure before Docker attempts the mount.
276
+
243
277
### Pinning to a specific version
244
278
245
279
```yaml
246
280
# Pin to exact version — safest for production pipelines
247
281
getcleancloud/cleancloud:1.9.0
248
282
249
-
# Pin to minor — gets patch fixes automatically
250
-
getcleancloud/cleancloud:1.9
251
-
252
283
# Always latest — simplest, least predictable
253
284
getcleancloud/cleancloud:latest
254
285
```
@@ -667,7 +698,7 @@ cleancloud scan \
667
698
668
699
**JSON is the recommended format for programmatic processing** as it contains complete data including evidence and detailed metadata.
669
700
670
-
The JSON output follows a versioned schema (see `schemas/output-v1.0.0.json`) and varies slightly between providers to accommodate their different organizational models (AWS regions vs Azure subscriptions).
701
+
The JSON output follows a versioned schema (see `schemas/output-v1.2.0.json`) and varies slightly between providers to accommodate their different organizational models (AWS regions vs Azure subscriptions).
0 commit comments