mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
changed order of the image scan
This commit is contained in:
parent
89f42236c2
commit
19d0e71ea8
1 changed files with 6 additions and 4 deletions
8
.github/workflows/ci-learning.yml
vendored
8
.github/workflows/ci-learning.yml
vendored
|
@ -110,15 +110,17 @@ jobs:
|
||||||
JF_URL: ${{ secrets.JF_URL }}
|
JF_URL: ${{ secrets.JF_URL }}
|
||||||
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
|
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
- name: Scan Image for vulnerabilities
|
||||||
|
run:
|
||||||
|
jf docker scan my0373.jfrog.io/my0373-docker/spring-petclinic:3.1.0-SNAPSHOT
|
||||||
|
|
||||||
|
|
||||||
- name: Build Tag and push Docker Image
|
- name: Build Tag and push Docker Image
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: my0373.jfrog.io/my0373-docker/spring-petclinic:3.1.0-SNAPSHOT
|
IMAGE_NAME: my0373.jfrog.io/my0373-docker/spring-petclinic:3.1.0-SNAPSHOT
|
||||||
run:
|
run:
|
||||||
jf docker push $IMAGE_NAME
|
jf docker push $IMAGE_NAME
|
||||||
|
|
||||||
- name: Scan Image for vulnerabilities
|
|
||||||
run:
|
|
||||||
jf docker scan my0373.jfrog.io/my0373-docker/spring-petclinic:3.1.0-SNAPSHOT
|
|
||||||
|
|
||||||
- name: Publish Build info With JFrog CLI
|
- name: Publish Build info With JFrog CLI
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue