vereinfachen: definierte secrets durchreichen

This commit is contained in:
Ludger Sicking 2024-09-09 08:26:05 +02:00
parent 2d5c46e1e1
commit f26ebc403f

View file

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