init
This commit is contained in:
parent
0fbff62627
commit
ee4d848422
@ -16,7 +16,7 @@ spec:
|
|||||||
workspaces:
|
workspaces:
|
||||||
- name: shared
|
- name: shared
|
||||||
description: Workspace containing the cloned Git repository
|
description: Workspace containing the cloned Git repository
|
||||||
- name: secret
|
- name: credentials
|
||||||
description: Secret data from workspace
|
description: Secret data from workspace
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -34,5 +34,5 @@ spec:
|
|||||||
echo "decoding $key_decoded"
|
echo "decoding $key_decoded"
|
||||||
target="/workspace/shared/$(params.subdirectory)/___HOME___/$key_decoded"
|
target="/workspace/shared/$(params.subdirectory)/___HOME___/$key_decoded"
|
||||||
mkdir -p "$(dirname "$target")"
|
mkdir -p "$(dirname "$target")"
|
||||||
cp "/secrets/credentials/$key" "$target"
|
cp "/workspace/credentials/$key" "$target"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user