fix
This commit is contained in:
@@ -107,7 +107,7 @@ spec:
|
||||
description: |
|
||||
Absolute path to the user's home directory.
|
||||
type: string
|
||||
default: "/tmp/"
|
||||
default: "/home/git"
|
||||
results:
|
||||
- name: commit
|
||||
description: The precise commit SHA that was fetched by this Task.
|
||||
@@ -115,6 +115,9 @@ spec:
|
||||
description: The precise URL that was fetched by this Task.
|
||||
- name: committer-date
|
||||
description: The epoch timestamp of the commit that was fetched by this Task.
|
||||
volumes:
|
||||
- name: home
|
||||
emptyDir: {}
|
||||
steps:
|
||||
- name: clone
|
||||
image: $(params.toolbox-image)
|
||||
@@ -168,6 +171,9 @@ spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65532
|
||||
volumeMounts:
|
||||
- mountPath: "$(params.userHome)"
|
||||
name: home
|
||||
script: |
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
Reference in New Issue
Block a user