Skip to content

Docker run -v inside container #26360

Answered by airtower-luna
mattvb91 asked this question in Actions
Discussion options

You must be logged in to vote

That has never been Github Actions syntax as far as I know, the stuff in that repository is for Google Cloud Build, which looks a bit similar because it’s YAML, too.

The point I was trying to make is that your job runs in a container (the lambci/lambda:build-nodejs12.x one). The paths inside that container are not going to be the same as on the ubuntu-latest runner VM.

GITHUB_WORKSPACE is an example I specifically had trouble with while uploading SARIF for the security tab. The github/codeql-action/upload-sarif action needs to make any absolute paths in the file to be uploaded relative (so any issues found can be assigned to files in the repository). By default it assumes the base path fo…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants