Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use current major as recommendation for Docker #127

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 <access-token>
docker run -v $(pwd):/root debricked/cli:1-resolution-debian -t <access-token>
```

### CI/CD integration
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/Argo/argo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down