-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix: permission issue #49
base: main
Are you sure you want to change the base?
Conversation
Hey @highb please can you take a look to this PR? |
action.yml
Outdated
#image: 'Dockerfile' | ||
image: 'docker://ghcr.io/kustomize-everything/action-promote:v4.1.3' | ||
image: 'Dockerfile' | ||
#image: 'docker://ghcr.io/kustomize-everything/action-promote:v4.1.3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will switch this once the PR is reviewed and approved.
Hey @mazzy89 , thanks for the contribution! I'll take a look today. |
Ah, I remember why I didn't set a
But if you're finding different behavior in your testing, perhaps it might work. |
Thanks @highb I didn't know that limitation. I have implemented and I have personally tested and this branch is currently running on my side and it worked without issues. |
@highb testing jobs are failing for permission issues. I will check. Build job is failing for something else I guess. |
The testing job fails with error
It seems it cannot setup |
Unfortunately we are experiencing the typical issue "it works on my computer". The issue is extensively documented here actions/runner#2411. It works for me because the user in the runner maps the one created in the Docker container (by coincidence). I need to sit and think about how we could solve this issue. Open to any suggestions. |
A classic issue, for sure. As for ideas, I'll also have to think this over for a while and see if I come up with anything. |
This reverts commit 91234f7.
@mazzy89 Sorry for the radio silence, there. Are you still interested in getting this PR in? Did you verify the newer changes you've made against your code base to see if it fixes the problem? I'm trying out the changes on my own branch. |
Looking at the actions runs, it looks like there are still some permissions issues on the Dockerfile build. |
This is an attempt to fix permission issue running a rootless container which is anyway always a good practice in the industry.
I have tested and it works. permissions inside the docker container for the pulled repo are now correct and at the next checkout no other issues are present.
Close #48