vereinfachen: secrets nur in "plugin"s!!!!
Some checks failed
ci/woodpecker/push/woodpecker-workflow-test Pipeline was successful
ci/woodpecker/push/woodpecker-workflow-adavanced-test Pipeline failed

This commit is contained in:
Ludger Sicking 2024-09-09 08:54:56 +02:00
parent c0c5a4831f
commit 4d2f3d8e56

View file

@ -18,14 +18,8 @@ steps:
#- sudo last ## im alpine image gegenchecken, was dort verfügbar
#- sudo ls /var
- last
- name: going-private
image: debian
# settings:
# kommando:
# from_secret: mytest_mycmd
## secrets existieren nur in images / "plugin"s / build-steps
- name: image-test
image: codeberg.org/xfix/plugin-codeberg-pages-deploy
commands:
#- eval $MYTEST_MYCMD #sind geschachtelte Secrets möglich?
- 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?
- docker images