Fix typo in GOOGLE_APPLICATION_CREDENTIALS env var name (#547)

This commit is contained in:
Patrik Csak
2026-04-16 21:50:30 -07:00
committed by GitHub
parent 4a2deec910
commit dada78485d
+2 -2
View File
@@ -751,7 +751,7 @@ jobs:
#### GCR (Google Container Registry) #### GCR (Google Container Registry)
Trivy uses Google Cloud SDK. You don't need to install `gcloud` command. Trivy uses Google Cloud SDK. You don't need to install `gcloud` command.
If you want to use target project's repository, you can set it via `GOOGLE_APPLICATION_CREDENTIAL`. If you want to use target project's repository, you can set it via `GOOGLE_APPLICATION_CREDENTIALS`.
```yaml ```yaml
name: build name: build
on: on:
@@ -777,7 +777,7 @@ jobs:
format: 'sarif' format: 'sarif'
output: 'trivy-results.sarif' output: 'trivy-results.sarif'
env: env:
GOOGLE_APPLICATION_CREDENTIAL: /path/to/credential.json GOOGLE_APPLICATION_CREDENTIALS: /path/to/credential.json
- name: Upload Trivy scan results to GitHub Security tab - name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v4 uses: github/codeql-action/upload-sarif@v4