Skip to content

Commit

Permalink
Debug trivy CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ways committed Nov 27, 2024
1 parent 62df595 commit 9bab990
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ unittests:
tags:
- teampunkt
image:
name: docker.io/aquasec/trivy:latest
name: docker.io/aquasec/trivy
entrypoint: [""]
variables:
# No need to clone the repo, we exclusively work on artifacts. See
Expand All @@ -49,6 +49,7 @@ unittests:
# TOOMANYREQUESTS problems, https://gitlab.met.no/team-punkt/hydra/lekestue/edrisobaric/-/issues/31
# - time trivy image --download-db-only --no-progress
# Builds report and puts it in the default workdir $CI_PROJECT_DIR, so `artifacts:` can take it from there
- echo "RELEASE_IMAGE_NAME $RELEASE_IMAGE_NAME CI_PROJECT_DIR/CI_JOB_NAME $CI_PROJECT_DIR/${CI_JOB_NAME}.xml"
- time trivy image \
--db-repository public.ecr.aws/aquasecurity/trivy-db \
--java-db-repository public.ecr.aws/aquasecurity/trivy-java-db \
Expand Down

0 comments on commit 9bab990

Please sign in to comment.