Missing examples how to use the images
Hi there,
I work for FITKO on several projects, such as https://gitlab.opencode.de/fitko/docs/portal.
I would love to use one of the provided images, but I don't know how.
My idea is something like that:
# Security scanning for yarn.lock
trivy-filesystem:
extends: .regular_pipeline_jobs
stage: lint
# Use the image with the pre-downloaded cache.
# This image is built nightly [1].
image:
name: registry.opencode.de/open-code/containercache-trivy:latest
entrypoint: [""]
script:
- trivy filesystem --skip-db-update --scanners vuln,misconfig --exit-code 1 --severity HIGH,CRITICAL yarn.lock
- trivy filesystem --skip-db-update --scanners vuln,misconfig --exit-code 0 --severity UNKNOWN,LOW,MEDIUM yarn.lock
As mentioned before, I'm not sure about the image name, if I need to set an entrypoint and what else I'm missing.
Some advice in the README.md or a Wiki page incorporating the information would be very helpful and well appreciated.
Cheers,
Jürgen