mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-10-23 02:23:53 +00:00
.
This commit is contained in:
parent
e8353ac0fa
commit
98450c4c44
2 changed files with 4 additions and 1 deletions
|
@ -53,6 +53,8 @@ fi
|
|||
unset CI_NETRC_USERNAME
|
||||
unset CI_NETRC_PASSWORD
|
||||
unset CI_SCRIPT
|
||||
mkdir -p $CI_WORKSPACE
|
||||
cd $CI_WORKSPACE
|
||||
`
|
||||
|
||||
// traceScript is a helper script that is added to the step script
|
||||
|
|
|
@ -182,7 +182,8 @@ func podContainer(step *types.Step, podName, goos string, options BackendOptions
|
|||
container := v1.Container{
|
||||
Name: podName,
|
||||
Image: step.Image,
|
||||
WorkingDir: step.WorkingDir,
|
||||
// WorkingDir: step.WorkingDir,
|
||||
WorkingDir: "/woodpecker",
|
||||
Ports: containerPorts(step.Ports),
|
||||
SecurityContext: containerSecurityContext(options.SecurityContext, step.Privileged),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue