mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 17:35:49 +00:00
Update maven.yml
This commit is contained in:
parent
e0f9d79c2e
commit
cbe2962089
1 changed files with 10 additions and 10 deletions
20
.github/workflows/maven.yml
vendored
20
.github/workflows/maven.yml
vendored
|
@ -73,17 +73,17 @@ jobs:
|
|||
run: |
|
||||
pack build ghcr.io/octodemo/spring-petclinic/spring-petclinic:${{ github.sha }} --builder paketobuildpacks/builder:base --env 'BP_JVM_VERSION=8.*' --tag ghcr.io/octodemo/spring-petclinic/spring-petclinic:latest --publish
|
||||
|
||||
- name: 🛡 Scan container image for vulnerabilities
|
||||
uses: anchore/scan-action@v2
|
||||
id: scan
|
||||
with:
|
||||
image: "ghcr.io/octodemo/spring-petclinic/spring-petclinic:latest"
|
||||
acs-report-enable: true
|
||||
# - name: 🛡 Scan container image for vulnerabilities
|
||||
# uses: anchore/scan-action@v2
|
||||
# id: scan
|
||||
# with:
|
||||
# image: "ghcr.io/octodemo/spring-petclinic/spring-petclinic:latest"
|
||||
# acs-report-enable: true
|
||||
|
||||
- name: ⬆️ Upload Anchore scan SARIF report
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: ${{ steps.scan.outputs.sarif }}
|
||||
# - name: ⬆️ Upload Anchore scan SARIF report
|
||||
# uses: github/codeql-action/upload-sarif@v1
|
||||
# with:
|
||||
# sarif_file: ${{ steps.scan.outputs.sarif }}
|
||||
|
||||
- name: 🚓 Run Snyk to check Docker image for vulnerabilities
|
||||
# Snyk can be used to break the build when it detects vulnerabilities.
|
||||
|
|
Loading…
Reference in a new issue