From 1cd690585b7a7a8731dfd98895446602885c6423 Mon Sep 17 00:00:00 2001 From: Oscar Reimer Date: Wed, 4 Oct 2023 08:57:44 +0200 Subject: [PATCH] Use current major as recommendation for Docker --- README.md | 4 ++-- examples/templates/Argo/argo.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ec3beb8..e03f327a 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ curl -L https://github.com/debricked/cli/releases/latest/download/cli_macOS_arm6 ``` ### Docker ```sh -docker pull debricked/cli +docker pull debricked/cli:1-resolution-debian ``` ## Scan Once you've installed the CLI, you're ready to scan your project. You can scan a local project, or integrate a scanning mechanism in your CI/CD pipeline. @@ -78,7 +78,7 @@ When the scan is complete, you will see the total number of vulnerabilities foun ### Docker To make a scan directly through Docker based on your current working directory, you can use the following command: ```sh -docker run -v $(pwd):/root debricked/cli:scan -t +docker run -v $(pwd):/root debricked/cli:1-resolution-debian -t ``` ### CI/CD integration diff --git a/examples/templates/Argo/argo.yml b/examples/templates/Argo/argo.yml index 55f5f48b..ff354504 100644 --- a/examples/templates/Argo/argo.yml +++ b/examples/templates/Argo/argo.yml @@ -22,7 +22,7 @@ spec: repo: "{{inputs.parameters.git-url}}" container: name: 'debricked-scan' - image: debricked/cli + image: debricked/cli:1-resolution-debian workingDir: /repository command: - debricked scan