Closed lucazz closed 6 months ago
Thanks for reaching out. This appears to be expected behavior, and there are relates issues such as https://github.com/actions/checkout/issues/1014 and https://github.com/actions/checkout/issues/956. The documentation (https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user) notes that "Docker actions must be run by the default Docker user (root)...". You can try workarounds such as using chmod
to allow a non-root user to write the filesystem path. There are some other workarounds referenced in those GitHub issues.
Interesting. Thanks for pointing that out, @tim-finnigan. I'll close this issue then.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one.
Describe the bug
Hello there everyone,
I have a GitHub Actions Runner Controller (ARC) Runner Set deployed on an EKS cluster, and workflow executions are failing with the following error message:
These pods are running as Nonroot, and the only other reference I see to this behavior is on #156, where the fix ran this action as root.
Expected Behavior
One should be able to assume a given role even when running this action in a non-root container.
Current Behavior
The workflow execution fails with the following error message:
Reproduction Steps
On a runner pod running without root, run the following workflow:
Possible Solution
No response
Additional Information/Context
No response