From 4618b76da3db7d5c4af93d6b3403b2de9d4e87c7 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 31 Jul 2025 12:58:42 +0000 Subject: [PATCH] pipline test secret injection v1 --- .woodpecker.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3b34094..4afc229 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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]