bug: workdir_parent is not mounted in docker-based actions #406
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#406
Loading…
Reference in New Issue
Block a user
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?
Context
In the workflow I have one task which uses a docker-based action(
runs.using: docker
inaction.yml
).In the other actions, I can access repository files pulled by
actions/checkout
action inworkdir_parent
($HOME/.cache/act/
). But I cannot find repository files in the docker-based actions because this kind of actions are run on a separate container.Expectation
workdir_parent
is mounted into docker-based action containers as Github action.How to reproduce
This is the workflow
jobs
section.This action is docker-based. https://github.com/josedev-union/caprover-compose-action/blob/main/action.yml#L28
And it outputs
ls
andpwd
at first. It outputs.
and..
only, not the repository files.gitea version
Version: 1.20.5 (I think it doesn't matter)
runner version and type
Version: 0.2.6
Type: Both container and host runners