-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task "show-sbom" raises this error: level=fatal msg="Exactly one argument expected" #1466
Comments
What did you pass as the IMAGE_URL? It looks like it was 7 whitespace-separated items
|
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
|
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 |
We need these updates to the script block:
Reference https://stackoverflow.com/questions/13617843/unary-operator-expected-error-in-bash-if-condition |
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
The text was updated successfully, but these errors were encountered: