felleslosninger/eid-github-workflows

ID-2129: Support contextual image names

Closed this issue · 2 comments

We have image names that include a "namespace", like event-statistikk/stat-ingester and event-statistikk/brukeradmin-backend.
The image name contains a slash that is interpreted as a directory-separator in the anchore/sbom-action when specified as the artifact-name: https://github.com/felleslosninger/brukeradmin-backend/actions/runs/3297077884/jobs/5437472307#step:11:198

oyri commented

I understand the problem, but maybe we then need an input param for name or filter out slashes, preferably the last since my long term hope is to publish this to a SBOM server so we easily can search for applications containing a given dependacy/vunerability. Then we need to include the name of the application or repo in the name as well. E.g. replace slash with underscore or something would then be good.