pipline test secret injection v1

This commit is contained in:
Josh 2025-07-31 12:58:42 +00:00
parent 0d2dd0b8d3
commit 4618b76da3

View File

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