Open virzak opened 3 months ago
Technically for act you could try
-P ubuntu-latest=-self-hosted
(yes I added it some years ago)At some point I would ask you, is act the right tool for your usecase? Do you know that actions/runner can be executed like act locally? I have written such a tool (just because I'm able to do it), because act didn't fit my needs for an exact GitHub Actions Clone A windows host can complicate things if you want to emulate a true linux system, applies for all scenarios wether you use act or not.
Thanks for your response.
At some point I would ask you, is act the right tool for your usecase?
I was wondering how a case of docker being called from inside the action could be handled. The question was more of a theoretical one; I don't have any urgent need for this. I can also drop to xu-cheng/latex-action@v2 which does work with act.
And it does work on my ubuntu machine with -P ubuntu-latest=-self-hosted
One Idea that I had was to let act know variables like GITHUB_STEP_SUMMARY
should point to the host /mnt/something...
. That way when an action script calls docker, these variables would be passed down like GITHUB_WORKSPACE
gets passed down.
https://github.com/xu-cheng/latex-action/blob/1ccd8e9a1ba76e30b547a1baf0e9c6d5ca33aea3/action.sh#L127-L132
Bug report info
Command used with act
Describe issue
An action calls
docker
inside its script. That results in a situation where there is a host, act container and action container. https://github.com/xu-cheng/latex-action/blob/1ccd8e9a1ba76e30b547a1baf0e9c6d5ca33aea3/action.sh#L56It also maps volumes from the act container to the action container, which is apparently impossible.
Is there a common solution to these types of actions?
Link to GitHub repository
https://github.com/george-lim/resume
Workflow content
Relevant log output
Additional information
No response