mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: services do not need WorkingDir (#156)
Closes forgejo/runner#304 Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/156 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
fe19a1d47b
commit
8826f7c6e9
1 changed files with 0 additions and 1 deletions
|
@ -475,7 +475,6 @@ func (rc *RunContext) startJobContainer() common.Executor {
|
|||
serviceContainerName := createContainerName(rc.jobContainerName(), serviceID)
|
||||
c := container.NewContainer(&container.NewContainerInput{
|
||||
Name: serviceContainerName,
|
||||
WorkingDir: ext.ToContainerPath(rc.Config.Workdir),
|
||||
Image: rc.ExprEval.Interpolate(ctx, spec.Image),
|
||||
Username: username,
|
||||
Password: password,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue