diff --git a/tasks/secret-home/task.yaml b/tasks/secret-home/task.yaml index f714bae..402417c 100644 --- a/tasks/secret-home/task.yaml +++ b/tasks/secret-home/task.yaml @@ -16,7 +16,7 @@ spec: workspaces: - name: shared description: Workspace containing the cloned Git repository - - name: secret + - name: credentials description: Secret data from workspace steps: @@ -34,5 +34,5 @@ spec: echo "decoding $key_decoded" target="/workspace/shared/$(params.subdirectory)/___HOME___/$key_decoded" mkdir -p "$(dirname "$target")" - cp "/secrets/credentials/$key" "$target" + cp "/workspace/credentials/$key" "$target" done