forked from wiremock/wiremock
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ jobs: | |
hide-progress: true | ||
cache-dir: .trivy | ||
github-pat: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run Trivy json result | ||
- name: Run Trivy json result alpine | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}-alpine' | ||
|
@@ -107,7 +107,7 @@ jobs: | |
severity: 'CRITICAL,HIGH' | ||
hide-progress: true | ||
cache-dir: .trivy | ||
- name: Run Trivy sarif result | ||
- name: Run Trivy sarif result alpine | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}-alpine' | ||
|
@@ -120,7 +120,7 @@ jobs: | |
limit-severities-for-sarif: true | ||
hide-progress: true | ||
cache-dir: .trivy | ||
- name: Run Trivy sbom result | ||
- name: Run Trivy sbom result alpine | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}-alpine' | ||
|
@@ -146,7 +146,7 @@ jobs: | |
echo "result=${code}" >> $GITHUB_OUTPUT | ||
cat trivy-result.sarif | ||
- name: Check result | ||
- name: Check result alpine | ||
id: trivy-result-alpine | ||
shell: bash | ||
run: | | ||
|
@@ -160,6 +160,10 @@ jobs: | |
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: 'trivy-result.sarif' | ||
- name: Upload Trivy alpine scan results to GitHub Security tab | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: 'trivy-result-alpine.sarif' | ||
|
||
docker: | ||
needs: [scan] | ||
|