pipline test secret injection v1
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
Josh 2025-07-31 12:58:42 +00:00
parent 9421a76863
commit 1873a25f6c

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]