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 9bab990 commit e71674b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ unittests:
TRIVY_AUTH_URL: "$CI_REGISTRY"

script:
- RELEASE_TAG="${CI_COMMIT_TAG}-${CI_PIPELINE_IID}"
- RELEASE_IMAGE_NAME="${CI_REGISTRY_IMAGE}:${RELEASE_TAG}"
- export TRIVY_CACHE_DIR=$(pwd)/.trivycache/
- mkdir -p ${TRIVY_CACHE_DIR}
- trivy --version
Expand Down

0 comments on commit e71674b

Please sign in to comment.