Compare commits

...

1 Commits

Author SHA1 Message Date
Giles Bradshaw dfbcdb3916 feat: docker file 2020-08-28 00:36:04 +01:00
2 changed files with 10 additions and 0 deletions

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
COPY run.sh /run.sh
ENTRYPOINT []
CMD /run.sh

6
run.sh Executable file
View File

@ -0,0 +1,6 @@
export PLUGIN_HOST=$SSH_HOST
export PLUGIN_USERNAME=$SSH_USER
export PLUGIN_PORT=$SSH_PORT
export PLUGIN_KEY=$SSH_KEY
export PLUGIN_PASSPHRASE=$SSH_PASSPHRASE
/bin/drone-scp