mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
update image name
This commit is contained in:
parent
6c98b89be7
commit
d21a8c4541
1 changed files with 1 additions and 3 deletions
4
.github/workflows/maven-build.yml
vendored
4
.github/workflows/maven-build.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: danvid.jfrog.io/spring-petclinic-docker/jfrog-docker-example-image:${{ github.sha }}
|
IMAGE_NAME: danvid.jfrog.io/spring-petclinic-docker/spring-petclinic:${{ github.sha }}
|
||||||
SCA_REPORT_FILE: jfrog_sca_report.json
|
SCA_REPORT_FILE: jfrog_sca_report.json
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -35,7 +35,6 @@ jobs:
|
||||||
run: ./mvnw -B package -D skipTests
|
run: ./mvnw -B package -D skipTests
|
||||||
- name: Run the tests
|
- name: Run the tests
|
||||||
run: ./mvnw test
|
run: ./mvnw test
|
||||||
|
|
||||||
- name: Package the project as a runnable Docker image
|
- name: Package the project as a runnable Docker image
|
||||||
run: |
|
run: |
|
||||||
jf docker build -t ${{ env.IMAGE_NAME }} .
|
jf docker build -t ${{ env.IMAGE_NAME }} .
|
||||||
|
@ -43,7 +42,6 @@ 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 ${{ env.IMAGE_NAME }} > ${{ env.SCA_REPORT_FILE }}
|
jf docker scan --format json ${{ env.IMAGE_NAME }} > ${{ env.SCA_REPORT_FILE }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sca_report
|
name: sca_report
|
||||||
|
|
Loading…
Reference in a new issue