mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:48 +00:00
fixing xray command
This commit is contained in:
parent
3e3c2afff8
commit
d6eba12b73
1 changed files with 4 additions and 2 deletions
6
.github/workflows/ci-pipeline.yml
vendored
6
.github/workflows/ci-pipeline.yml
vendored
|
@ -77,8 +77,10 @@ jobs:
|
|||
#################################################
|
||||
- name: Scan Artifact
|
||||
run: |
|
||||
jf scan /path/to/artifact
|
||||
|
||||
latest_jar=$(find target -name "*.jar" | sort | tail -n 1)
|
||||
echo "Scanning: $latest_jar"
|
||||
jf scan "$latest_jar"
|
||||
|
||||
#################################################
|
||||
# 9) Build Docker Image
|
||||
#################################################
|
||||
|
|
Loading…
Reference in a new issue