-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Issue: Unable to execute docker build
within a Github Action workflow
#556
Comments
Could you provide output of |
Hi @catthehacker, thanks for looking into this!
|
@catthehacker also, FWIW, running I looked in the act/pkg/runner/step_context.go Line 214 in 8de7b95
and here: Line 86 in 8de7b95
might do the trick... |
Seems like using Although from documentation and this comment it seems that the proper way is to modify host paths instead of using |
Any particular reason the code uses bind mounts instead of (or, rather, in addition to) volumes?
Sorry, I read that issue and particular comment a number of times and I'm still scratching my head as to what the solution actually would entail here. Mind elaborating? Thanks again for your help @catthehacker! |
@catthehacker any updates on this? |
@jaypipes Sorry, I never used Linux distro with |
@catthehacker OK, so I ended up just turning off SELinux entirely and that has solved this issue. Honestly, for development desktops, I have a feeling that SELinux is just more bother than anything useful. :) Closing issue out... |
I'm on Arch Linux and the issue is still present for me... Is there any quick fix for this? I'm on the latest |
Turn off SELinux |
I'm running Arch Linux, and |
Please create new issue then |
Done |
Act version
Note this is on Fedora 33 with Docker version 19.03.13.
Expected behaviour
I want to be able to execute
docker build
from a github action workflow without getting permissions failure.Actual behaviour
Workflow and/or repository
workflow
Steps to reproduce
act
outputLog
The text was updated successfully, but these errors were encountered: