pipline test secret injection v1
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
parent
9421a76863
commit
1873a25f6c
@ -5,14 +5,13 @@ name: secret-test
|
|||||||
steps:
|
steps:
|
||||||
- name: echo-secret
|
- name: echo-secret
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
settings:
|
environment:
|
||||||
STAGING_SSH_KEY:
|
STAGING_SSH_KEY: test123
|
||||||
from_secret: STAGING_SSH_KEY
|
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
echo "START SECRET"
|
echo "START SECRET"
|
||||||
echo "$STAGING_SSH_KEY" | wc -c
|
echo "$STAGING_SSH_KEY" | wc -c
|
||||||
echo "$STAGING_SSH_KEY" | head -c 64
|
echo "$STAGING_SSH_KEY"
|
||||||
echo "END SECRET"
|
echo "END SECRET"
|
||||||
when:
|
when:
|
||||||
event: [push, manual]
|
event: [push, manual]
|
||||||
|
Loading…
Reference in New Issue
Block a user