mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 20:59:30 +00:00
add trivy scans for built images
Signed-off-by: Brian Downs <brian.downs@gmail.com>
This commit is contained in:
@@ -15,4 +15,5 @@ PROXY_OPTS=
|
||||
[ -z "$https_proxy" ] || PROXY_OPTS="$PROXY_OPTS --build-arg https_proxy=$https_proxy"
|
||||
[ -z "$no_proxy" ] || PROXY_OPTS="$PROXY_OPTS --build-arg no_proxy=$no_proxy"
|
||||
docker build ${PROXY_OPTS} -t ${IMAGE} -f package/Dockerfile .
|
||||
./scripts/image_scan.sh ${IMAGE}
|
||||
echo Built ${IMAGE}
|
||||
|
||||
Reference in New Issue
Block a user