vereinfachen: wo ist secret abgreifbar? auch im image?

This commit is contained in:
Ludger Sicking 2024-09-09 08:41:35 +02:00
parent 10214911ea
commit c0c5a4831f

View file

@ -20,12 +20,12 @@ steps:
- last - last
- name: going-private - name: going-private
image: debian image: debian
settings: # settings:
kommando: # kommando:
from_secret: mytest_mycmd # from_secret: mytest_mycmd
commands: commands:
#- eval $MYTEST_MYCMD #sind geschachtelte Secrets möglich? #- eval $MYTEST_MYCMD #sind geschachtelte Secrets möglich?
- ls -la $kommando - ls -la $MYTEST_MYCMD
#- scp -i $SECRET_API_TOKEN $CLIOPTION contributing.md $USER@$SERVER:targetfile #- scp -i $SECRET_API_TOKEN $CLIOPTION contributing.md $USER@$SERVER:targetfile
#secrets: [ SECRET_API_TOKEN, mytest_mycmd ] #secrets: [ SECRET_API_TOKEN, mytest_mycmd ]
#secrets: [ mytest_mycmd ] #gehts so? secrets: [ mytest_mycmd ] #gehts so?