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