-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Sarif Upload failed from container
I am trying to upload .sarif file from a windows docker container by using PAT to a github private repo.
my Codeql CLI upload command from a container is
RUN codeql github upload-results --repository=abc/xyz --ref=refs/heads/xxx --commit=xxx --sarif=C:\\xyz\\result.sarif --github-url=https://PAT@github.com/abc/ --github-auth-stdin
while this command is working perfectly from the local server (not docker)
but when I execute the same inside a container I got the following error..
IllegalStateException: Standard input stream is empty while processing argument at or before arg[5] '-a' in [--repository=abc/xyz, --ref=refs/heads/xxx, --commit=xxx, --sarif=C:\\xyz\\result.sarif, --github-url=https://PAT@github.com/abc/, -a]: java.lang.IllegalStateException: Standard input stream is empty
Try codeql github upload-results --help for usage help.
does anyone let me know what I am doing wrong?
Thanks :)
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested