Open smainz opened 6 hours ago
server
I am using this drone plugin: https://github.com/appleboy/drone-ssh
And I need additional env vars set in my script (and the optional env var for deployment $TAG will override the constant dev)
$TAG
dev
- name: Deploy to Server image: appleboy/drone-ssh environment: TAG: ${TAG=dev} settings: proxy_host: jumphost.xxx.xxxxxx.xx proxy_username: from_secret: SSH_USER proxy_key: from_secret: SSH_KEY host: "10.1.0.5" username: from_secret: SSH_USER key: from_secret: SSH_KEY envs: - TAG script: - cd /srv/docker.nbr - echo "TAG=$${TAG}" > .env - docker-compose pull - docker-compose down - docker-compose up -d
How is this supposed in the futire as I get the linter warning: Should not configure both environment and settings
The docs of this plugin explicitly state this kind of usage. Is there differnet woodpecker plugin for the same use?
Should be obvious
No response
Woodpecker 2.7.2 from docker image
next
Component
server
Describe the bug
I am using this drone plugin: https://github.com/appleboy/drone-ssh
And I need additional env vars set in my script (and the optional env var for deployment
$TAG
will override the constantdev
)How is this supposed in the futire as I get the linter warning: Should not configure both environment and settings
The docs of this plugin explicitly state this kind of usage. Is there differnet woodpecker plugin for the same use?
Steps to reproduce
Should be obvious
Expected behavior
No response
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]