Open cmoulliard opened 3 weeks ago
What did you pass as the IMAGE_URL? It looks like it was 7 whitespace-separated items
[show-sbom] Failed to get SBOM after 5 tries
[show-sbom] Error: accepts 1 arg(s), received 7
Here is a recent job executed : https://console.redhat.com/application-pipeline/workspaces/cmoullia/applications/buildpack-remote/pipelineruns/builder-ubi-base-cpffn
IMAGE_URL populated is the following and don't include white spaces
quay.io/redhat-user-workloads/cmoullia-tenant/buildpack-remote/builder-ubi-base:c5c33d9829696a26e807e745dc56aa983fc2fc0f
We won't really be able to reproduce this since you have a highly custom pipeline. Could you try running a modified version of the show-sbom task (e.g. add set -x
to the bash script) in your pipeline and debugging what is going wrong?
Issue
The Task "show-sbom" raises an error when executed with this PipelineRun - https://github.com/redhat-buildpacks/builder-ubi-base/blob/main/.tekton/pipelinerun-builder-ubi-base.yaml#L37-L50
Error