pipline secret injection test v2

This commit is contained in:
Josh 2025-07-31 12:59:56 +00:00
parent 4618b76da3
commit 21ee8263f9

View File

@ -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]