diff --git a/infrastructure/cicd/tekton-helm/templates/task-detect-changes.yaml b/infrastructure/cicd/tekton-helm/templates/task-detect-changes.yaml index 8cc9392f..cc4c3dcb 100644 --- a/infrastructure/cicd/tekton-helm/templates/task-detect-changes.yaml +++ b/infrastructure/cicd/tekton-helm/templates/task-detect-changes.yaml @@ -28,6 +28,9 @@ spec: - ALL seccompProfile: type: RuntimeDefault + env: + - name: HOME + value: /tekton/home script: | #!/bin/bash set -e diff --git a/infrastructure/cicd/tekton-helm/templates/task-git-clone.yaml b/infrastructure/cicd/tekton-helm/templates/task-git-clone.yaml index bd54ea0c..6f4fddd3 100644 --- a/infrastructure/cicd/tekton-helm/templates/task-git-clone.yaml +++ b/infrastructure/cicd/tekton-helm/templates/task-git-clone.yaml @@ -42,6 +42,9 @@ spec: - ALL seccompProfile: type: RuntimeDefault + env: + - name: HOME + value: /tekton/home script: | #!/bin/sh set -e diff --git a/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml b/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml index af63f7a1..c0f4a4d5 100644 --- a/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml +++ b/infrastructure/cicd/tekton-helm/templates/task-update-gitops.yaml @@ -46,6 +46,8 @@ spec: type: RuntimeDefault workingDir: $(workspaces.source.path) env: + - name: HOME + value: /tekton/home - name: GIT_USERNAME valueFrom: secretKeyRef: