From f26ebc403fc36a22e2a2b952594821037c60fa63 Mon Sep 17 00:00:00 2001 From: Ludger Sicking Date: Mon, 9 Sep 2024 08:26:05 +0200 Subject: [PATCH] vereinfachen: definierte secrets durchreichen --- .woodpecker/woodpecker-workflow-adavanced-test.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker/woodpecker-workflow-adavanced-test.yaml b/.woodpecker/woodpecker-workflow-adavanced-test.yaml index 7f2f009..4ff5c4c 100644 --- a/.woodpecker/woodpecker-workflow-adavanced-test.yaml +++ b/.woodpecker/woodpecker-workflow-adavanced-test.yaml @@ -20,9 +20,12 @@ steps: - last - name: going-private image: debian + settings: + kommando: + from_secret: mytest_mycmd commands: #- eval $MYTEST_MYCMD #sind geschachtelte Secrets möglich? - - #ls -la $MYTEST_MYCMD - - scp -i $SECRET_API_TOKEN $CLIOPTION contributing.md $USER@$SERVER:targetfile + - ls -la $MYTEST_MYCMD + #- scp -i $SECRET_API_TOKEN $CLIOPTION contributing.md $USER@$SERVER:targetfile #secrets: [ SECRET_API_TOKEN, mytest_mycmd ] #secrets: [ mytest_mycmd ] #gehts so?