-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-enable and update trivy-action to version 0.29.0 in workflows
- Loading branch information
Showing
7 changed files
with
596 additions
and
109 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
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 |
---|---|---|
|
@@ -327,30 +327,28 @@ jobs: | |
mv /tmp/.buildx-cache-new /tmp/.buildx-cache | ||
scan_image_with_trivy: | ||
name: Scan with trivy (disabled) | ||
name: Scan with Trivy | ||
runs-on: ubuntu-24.04 | ||
needs: build_docker_image | ||
permissions: | ||
contents: write | ||
if: ${{ ! always() }} | ||
# disable trivy until it can be reliably downloaded in the pipeline | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Download docker local image | ||
- name: Retrieve local docker image | ||
uses: actions/[email protected] | ||
with: | ||
name: ${{ env.IMAGE_NAME }} | ||
path: /tmp | ||
|
||
- name: Load docker local image | ||
- name: Load local docker image | ||
run: | | ||
docker load --input /tmp/${{ env.IMAGE_NAME }}.tar | ||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/trivy-action@0.28.0 | ||
uses: aquasecurity/trivy-action@0.29.0 | ||
with: | ||
image-ref: '${{ env.IMAGE_NAME }}' | ||
format: 'table' | ||
|
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 |
---|---|---|
|
@@ -432,21 +432,19 @@ jobs: | |
cmd_options: '-a' | ||
|
||
scan_image_with_trivy: | ||
name: Scan image with trivy (disabled) | ||
name: Scan image with Trivy | ||
runs-on: ubuntu-24.04 | ||
needs: build_docker_image | ||
permissions: | ||
contents: write | ||
security-events: write | ||
if: ${{ ! always() }} | ||
# disable trivy until it can be reliably downloaded in the pipeline | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/trivy-action@0.28.0 | ||
uses: aquasecurity/trivy-action@0.29.0 | ||
with: | ||
image-ref: '${{ env.IMAGE_NAME }}' | ||
format: 'template' | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.