This commit is contained in:
2024-04-23 13:41:46 +02:00
parent 52a8a72ab2
commit 7c4220907d

View File

@@ -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