diff --git a/task/git-clone/0.8/git-clone.yaml b/task/git-clone/0.8/git-clone.yaml index 64478588..6b177694 100644 --- a/task/git-clone/0.8/git-clone.yaml +++ b/task/git-clone/0.8/git-clone.yaml @@ -107,7 +107,7 @@ spec: description: | Absolute path to the user's home directory. type: string - default: "/home/nonroot" + default: "/tekton/home" results: - name: commit description: The precise commit SHA that was fetched by this Task. diff --git a/task/kn-apply/0.2/kn-apply.yaml b/task/kn-apply/0.2/kn-apply.yaml index fe8deb2d..e486004d 100644 --- a/task/kn-apply/0.2/kn-apply.yaml +++ b/task/kn-apply/0.2/kn-apply.yaml @@ -33,4 +33,4 @@ spec: runAsUser: 65532 env: - name: HOME - value: /home/nonroot + value: /tekton/home diff --git a/task/kn/0.2/kn.yaml b/task/kn/0.2/kn.yaml index 24603d78..a9488bfb 100644 --- a/task/kn/0.2/kn.yaml +++ b/task/kn/0.2/kn.yaml @@ -26,6 +26,9 @@ spec: - "help" steps: - name: kn + env: + - name: HOME + value: /tekton/home image: "$(params.kn-image)" command: ["/ko-app/kn"] args: ["$(params.ARGS)"] diff --git a/task/skopeo-copy/0.2/skopeo-copy.yaml b/task/skopeo-copy/0.2/skopeo-copy.yaml index c55f2ad3..978930ad 100644 --- a/task/skopeo-copy/0.2/skopeo-copy.yaml +++ b/task/skopeo-copy/0.2/skopeo-copy.yaml @@ -41,6 +41,9 @@ spec: default: "true" steps: - name: skopeo-copy + env: + - name: HOME + value: /tekton/home image: quay.io/skopeo/stable:v1.9.0 script: | # Function to copy multiple images. diff --git a/task/tkn/0.4/tkn.yaml b/task/tkn/0.4/tkn.yaml index 4f9d8321..3169a302 100644 --- a/task/tkn/0.4/tkn.yaml +++ b/task/tkn/0.4/tkn.yaml @@ -36,6 +36,9 @@ spec: default: ["--help"] steps: - name: tkn + env: + - name: HOME + value: /tekton/home image: "$(params.TKN_IMAGE)" script: | if [ "$(workspaces.kubeconfig.bound)" = "true" ] && [ -e $(workspaces.kubeconfig.path)/kubeconfig ]; then