1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
sillyguodong 981b8c8893 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
.gitea/workflows chore: update go-git dependency in go.mod (#30) 2023-03-26 21:27:19 +08:00
.github chore: run act from cli on linux (#1758) 2023-04-25 17:32:34 +00:00
act Put the job container name into the env context (#62) 2023-06-06 00:21:31 +00:00
cmd Support cache (#1770) 2023-04-28 15:57:40 +00:00
main.go feat: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00