-
I’m trying to use an image from Docker Hub, A minimal workflow that triggers this error is as follows:
Unfortunately, the above error message, while mentioning a path, does not tell, on which machine the respective directories should exist and what permissions they should have. From its documentation, I cannot tell, what Are there any constraints a docker image to be used with The particular image I’m trying to employ uses a non-privileged user for its entry point. Could this be the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I’ve extended the workflow, adding The problem is that this directory and everything in it is created for user What is a simple way to fix that? My current idea is that the only safe approach would be to use a Docker image derived from one of GitHub’s own images, like |
Beta Was this translation helpful? Give feedback.
-
I’m meanwhile convinced that the container’s entry point must have |
Beta Was this translation helpful? Give feedback.
-
Facing the same problem. I would like to avoid using the root user in this environment. |
Beta Was this translation helpful? Give feedback.
I’m meanwhile convinced that the container’s entry point must have
root
privileges. This constraint is documented in the GitHub Actions Documentation in the section “Creating actions”. My approach doesn’t involve creating a custom action, which is why I didn’t look at that section initially. Apparently, the requirement of havingroot
privileges also applies to the situation where you don’t implement your own action, but unfortunately the documentation doesn’t seem to mention that.