File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches :
9
9
- ' main'
10
+ schedule :
11
+ - cron : ' 0 5 * * 1'
10
12
11
13
jobs :
12
14
build :
51
53
with :
52
54
report_paths : ' **/target/surefire-reports/TEST-*.xml'
53
55
56
+ - name : Grype source code
57
+ id : grype_source_code
58
+ uses : anchore/scan-action@v6
59
+ with :
60
+ path : .
61
+ fail-build : true
62
+ severity-cutoff : high
63
+ only-fixed : true
64
+
65
+ - name : Upload Grype source code report
66
+ if : always() && steps.grype_source_code.outputs.sarif != ''
67
+ uses : github/codeql-action/upload-sarif@v3
68
+ with :
69
+ sarif_file : ${{ steps.grype_source_code.outputs.sarif }}
70
+ category : ' source-code'
71
+
54
72
- name : Sonar
55
73
if : github.event.pull_request.head.repo.fork == false
56
74
run : mvn verify sonar:sonar
Original file line number Diff line number Diff line change 147
147
<version >${jib-maven-plugin.version} </version >
148
148
<configuration >
149
149
<from >
150
- <image >eclipse-temurin:21_35 -jre</image >
150
+ <image >eclipse-temurin:21 -jre-alpine </image >
151
151
</from >
152
152
<to >
153
153
<image >docker.io/loicgreffier/spring-boot-kafka-quickstarts:${project.artifactId} -${project.version} </image >
You can’t perform that action at this time.
0 commit comments