Closed king1107955613 closed 1 year ago
The auth method isn't passed in via settings
. Is this your .drone.yml
file? If so, please update your .drone.yml
block for drone-cache
to look like this:
image: meltwater/drone-cache:v1.4.0-linux-amd64
pull: true
environment:
SFTP_HOST:
from_secret: host
SFTP_USERNAME:
from_secret: sshname
SFTP_AUTH_METHOD: PASSWORD
SFTP_PASSWORD:
from_secret: password
SFTP_PORT: 22
SFTP_CACHE_ROOT: /d/drone
settings:
backend: sftp
restore: true
debug: true
volumes:
- name: cache
path: /drone
The settings you are attempting to use may not work the same way as the global options for the actual container. It is best to use environment variables in this case as shown above.
Describe the bug SFPT init failed
To Reproduce Steps to reproduce the behavior:
Using ... config
While ... i try use
sftp.authMethod
、PLUGIN_SFTP.AUTH_METHOD
、SSHAuthMethod
、SSHAuth.Method
,but norworkingSee error
log here
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):