forgejo-runner-act/pkg
sillyguodong 6ce5c93cc8 Put the job container name into the env context (#62)
Related: https://gitea.com/gitea/act_runner/issues/189#issuecomment-740636
Refer to [Docker Doc](https://docs.docker.com/engine/reference/commandline/run/#volumes-from), the `--volumes-from` flag is used when running or creating a new container and takes the name or ID of the container from which you want to share volumes. Here's the syntax:
```
docker run --volumes-from <container_name_or_id> <image>
```
So put the job container name into the `env` context in this PR.

Co-authored-by: Jason Song <i@wolfogre.com>
Reviewed-on: https://gitea.com/gitea/act/pulls/62
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: sillyguodong <gedong_1994@163.com>
Co-committed-by: sillyguodong <gedong_1994@163.com>
2023-06-06 00:21:31 +00:00
..
artifactcache Support cache (#1770) 2023-04-28 15:57:40 +00:00
artifacts fix: tolerate workflow that needs a missing job (#1595) (#1619) 2023-02-16 16:41:59 +00:00
common Merge tag 'nektos/v0.2.45' 2023-05-04 17:45:53 +08:00
container Check volumes (#60) 2023-06-05 09:21:59 +00:00
exprparser Support configuration variables (#43) 2023-04-19 15:22:56 +08:00
jobparser Keep the order of on when parsing workflow (#46) 2023-04-24 23:16:41 +08:00
lookpath feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
model Merge tag 'nektos/v0.2.45' 2023-05-04 17:45:53 +08:00
runner Put the job container name into the env context (#62) 2023-06-06 00:21:31 +00:00
workflowpattern feat: workflowpattern package (#1618) 2023-02-23 18:21:08 +00:00