mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +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:
|
build:
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }}
|
IMAGE_NAME: danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }}
|
||||||
|
SCA_REPORT_FILE: jfrog_sca_report.json
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -45,10 +46,12 @@ jobs:
|
||||||
|
|
||||||
- name: Scan the project with your preferred SCA tool
|
- name: Scan the project with your preferred SCA tool
|
||||||
run: |
|
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
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: jfrog_sca_report
|
name: sca_report
|
||||||
path: jfrog_sca_report.json
|
path: $SCA_REPORT_FILE
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue