pipline test secret injection v1
This commit is contained in:
parent
0d2dd0b8d3
commit
4618b76da3
@ -5,14 +5,13 @@ name: secret-test
|
||||
steps:
|
||||
- name: echo-secret
|
||||
image: alpine:latest
|
||||
settings:
|
||||
STAGING_SSH_KEY:
|
||||
from_secret: STAGING_SSH_KEY
|
||||
environment:
|
||||
STAGING_SSH_KEY: test123
|
||||
commands:
|
||||
- |
|
||||
echo "START SECRET"
|
||||
echo "$STAGING_SSH_KEY" | wc -c
|
||||
echo "$STAGING_SSH_KEY" | head -c 64
|
||||
echo "$STAGING_SSH_KEY"
|
||||
echo "END SECRET"
|
||||
when:
|
||||
event: [push, manual]
|
||||
|
Loading…
Reference in New Issue
Block a user