test
willemjan/glucose-dashboard/pipeline/head There was a failure building this commit

This commit is contained in:
2026-08-15 22:20:12 +02:00
parent 908fd6f730
commit 1f2b0d917a
Vendored
+10 -1
View File
@@ -1,5 +1,8 @@
pipeline { pipeline {
agent any agent {
label 'ssh-agent'
}
environment { environment {
REGISTRY = 'gitea.zb-kw.duckdns.org' REGISTRY = 'gitea.zb-kw.duckdns.org'
@@ -61,6 +64,12 @@ pipeline {
} }
stage('Scan') { stage('Scan') {
agent {
docker {
image 'aquasec:trivy'
reuseNode true
}
}
steps { steps {
sh 'trivy image --exit-code 0 --severity HIGH,CRITICAL $IMAGE:$TAG' sh 'trivy image --exit-code 0 --severity HIGH,CRITICAL $IMAGE:$TAG'
} }