Skip to content

Commit 47c3272

Browse files
authored
Merge pull request #254 from sir-gon/develop
[CONFIG] [Github Actions] Docker flow, trivy issue workaround (with J…
2 parents 7a94f4e + 7362be0 commit 47c3272

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ jobs:
185185
format: 'table'
186186
env:
187187
TRIVY_DB_REPOSITORY: ${{ vars.TRIVY_DB_REPOSITORY }}
188+
TRIVY_JAVA_DB_REPOSITORY: ${{ vars.TRIVY_JAVA_DB_REPOSITORY }}
188189

189190
- name: Run Trivy vulnerability scanner (sarif report)
190191
uses: aquasecurity/[email protected]
@@ -194,6 +195,7 @@ jobs:
194195
output: 'trivy-results.sarif'
195196
env:
196197
TRIVY_DB_REPOSITORY: ${{ vars.TRIVY_DB_REPOSITORY }}
198+
TRIVY_JAVA_DB_REPOSITORY: ${{ vars.TRIVY_JAVA_DB_REPOSITORY }}
197199

198200
- name: Upload Trivy scan results to GitHub Security tab
199201
uses: github/codeql-action/upload-sarif@v3

0 commit comments

Comments
 (0)