Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ orbs:
references:
install_trivy_and_download_dbs: &install_trivy_and_download_dbs
persist_to_workspace: true
# https://trivy.dev/docs/v0.72/getting-started/installation/#installing-trivy
# https://trivy.dev/docs/v0.74/getting-started/installation/#installing-trivy
cmd: |
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b . v0.72.0
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b . v0.74.0
mkdir cache
./trivy --cache-dir ./cache image --download-db-only

Expand All @@ -23,7 +23,7 @@ references:
build_and_publish_docker: &build_and_publish_docker
persist_to_workspace: true
cmd: |
docker build --no-cache -t $CIRCLE_PROJECT_REPONAME:latest --build-arg TRIVY_VERSION=0.72.0 .
docker build --no-cache -t $CIRCLE_PROJECT_REPONAME:latest --build-arg TRIVY_VERSION=0.74.0 .
docker save --output docker-image.tar $CIRCLE_PROJECT_REPONAME:latest

workflows:
Expand Down
Loading