pipline secret injection test v2
This commit is contained in:
parent
4618b76da3
commit
21ee8263f9
@ -1,7 +1,3 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: secret-test
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: echo-secret
|
- name: echo-secret
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
@ -11,7 +7,7 @@ steps:
|
|||||||
- |
|
- |
|
||||||
echo "START SECRET"
|
echo "START SECRET"
|
||||||
echo "$STAGING_SSH_KEY" | wc -c
|
echo "$STAGING_SSH_KEY" | wc -c
|
||||||
echo "$STAGING_SSH_KEY"
|
echo "$STAGING_SSH_KEY" | head -c 64
|
||||||
echo "END SECRET"
|
echo "END SECRET"
|
||||||
when:
|
when:
|
||||||
event: [push, manual]
|
event: [push, manual]
|
||||||
|
Loading…
Reference in New Issue
Block a user