reg-suit plugin to fetch and publish snapshot images using SFTP.
npm install reg-publish-sftp-plugin --save-dev
npx reg-suit prepare --plugin publish-sftp
You can log in the SFTP server with SSH private key authentication or password authentication.
Choose one of the items below.
export SFTP_PASSWORD=xxxxxxxx
export SFTP_PRIVATE_KEY_PATH=xxxxxxx
export SFTP_PRIVATE_KEY=xxxxxxx
{
// ...
"reg-plugin-sftp-plugin": {
// ...
"password": "xxxxxxxxx"
}
}