mirror of
https://github.com/aquasecurity/trivy-action.git
synced 2026-05-14 03:02:40 +00:00
Fix typo in GOOGLE_APPLICATION_CREDENTIALS env var name (#547)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user