mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2382] xu-cheng/latex-action@v3 calls docker and volumes aren't properly mapped #1094
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1094
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @virzak on GitHub (Jul 1, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2382
Bug report info
Command used with act
Describe issue
An action calls
dockerinside its script. That results in a situation where there is a host, act container and action container.github.com/xu-cheng/latex-action@1ccd8e9a1b/action.sh (L56)It 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
@ChristopherHX commented on GitHub (Jul 1, 2024):
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.
@virzak commented on GitHub (Jul 2, 2024):
Thanks for your response.
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-hostedOne Idea that I had was to let act know variables like
GITHUB_STEP_SUMMARYshould point to the host/mnt/something.... That way when an action script calls docker, these variables would be passed down likeGITHUB_WORKSPACEgets passed down.github.com/xu-cheng/latex-action@1ccd8e9a1b/action.sh (L127-L132)@github-actions[bot] commented on GitHub (Dec 30, 2024):
Issue is stale and will be closed in 14 days unless there is new activity