-
Notifications
You must be signed in to change notification settings - Fork 213
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
Use Docker's built-in COPY --chmod
functionality to fix the Docker build
#68
Conversation
This fixes an issue we were seeing when building the action: chmod: /entrypoint.sh: Operation not permitted While maintaining the required end effect (presumably only necessary when building the image on Windows).
This feels like the tighter solution to me |
This action still fails for us with this error, also likely due to the introduced Docker user change mentioned in #67:
But it's late for me, and the fix that comes to mind would be to revert to |
@cody-simms-sonarsource Any ETA on getting this PR merged? My options right now are disable SonarCloud for our CI (as it's blocking us) or branch this repo and use @mmalecki's PR. |
Yeah actually I've checked this too now and get the same error as @mmalecki so probably need the base image |
That`s the breaking change what broke the docker image SonarSource/sonar-scanner-cli-docker@11e6606 |
They've broken their image. - SonarSource/sonarcloud-github-action#67 - SonarSource/sonarcloud-github-action#68 Signed-off-by: Rick Elrod <rick@elrod.me>
They've broken their image. - SonarSource/sonarcloud-github-action#67 - SonarSource/sonarcloud-github-action#68 Signed-off-by: Rick Elrod <rick@elrod.me>
The docker image the action uses should absolutely be pinned to a sha hash rather than a mutable image tag. We were pinning the commit hash of the action and were still affected by this underlying change. That's not ok. |
They've broken their image. - SonarSource/sonarcloud-github-action#67 - SonarSource/sonarcloud-github-action#68 Signed-off-by: Rick Elrod <rick@elrod.me>
hello guys! can you let us know when is merged? we were using this action :( , as a workaround, we are using v2.0.2 now |
Thanks, y'all, for your contributions. |
This fixes an issue we were seeing when building the action:
While maintaining the required end effect (presumably only necessary when building the image on Windows).
See also #67 for a solution that pins down the version (but doesn't permanently fix this particular bug).