mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:35:50 +00:00
using env var
This commit is contained in:
parent
e41ffab873
commit
98d53bd92f
1 changed files with 6 additions and 3 deletions
9
.github/workflows/maven-build.yml
vendored
9
.github/workflows/maven-build.yml
vendored
|
@ -13,6 +13,7 @@ jobs:
|
|||
build:
|
||||
env:
|
||||
IMAGE_NAME: danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }}
|
||||
SCA_REPORT_FILE: jfrog_sca_report.json
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
@ -45,10 +46,12 @@ jobs:
|
|||
|
||||
- name: Scan the project with your preferred SCA tool
|
||||
run: |
|
||||
jf docker scan --format json danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }} > jfrog_sca_report.json
|
||||
jf docker scan --format json danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }} > $SCA_REPORT_FILE
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: jfrog_sca_report
|
||||
path: jfrog_sca_report.json
|
||||
name: sca_report
|
||||
path: $SCA_REPORT_FILE
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue