From f246f1b2a35b60921be1c499abbbe2e813b1f510 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Mon, 3 Jul 2023 20:15:00 +0200 Subject: [PATCH] chore(): Making step container privileged --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index abc0ad5..96d485f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,9 +23,9 @@ steps: - name: trivy-scan image: scm.project42.io/elia/trivy:production + privileged: true commands: - - /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock - - /usr/local/bin/dockerd-entrypoint.sh /usr/local/bin/trivy image scm.project42.io/elia/trivy:pre-scan + - trivy image scm.project42.io/elia/trivy:pre-scan failure: ignore trigger: