Deployment over SSH made easy
Necessary SSH configuration and additional libraries (rsync) wrapped in separated Docker image.
Image is extremely useful in CI/CD scripts to speed up deployment process.
Missing variables are set as secrets in configuration.
docker run --rm -e SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY" libreimages/ssh-deploy \ scp file $SERVER_USERNAME@$SERVER_HOST:$REMOTE_DIRECTORY