Compare commits

...

5 Commits

Author SHA1 Message Date
Giles Bradshaw 6f27863f89 ci: no secrets
continuous-integration/drone/push Build is passing Details
2020-08-28 11:08:23 +01:00
Giles Bradshaw 7d8ab95d73 ci: no secrets
continuous-integration/drone/push Build encountered an error Details
2020-08-28 11:03:06 +01:00
Giles Bradshaw 96e585e8f0 ci: volume
continuous-integration/drone/push Build is failing Details
2020-08-28 10:48:21 +01:00
Giles Bradshaw b5d8dcf450 ci: added dreon.yml to build and push
continuous-integration/drone/push Build is failing Details
2020-08-28 10:08:42 +01:00
Giles Bradshaw 220d39d09a feat: Dockerfile 2020-08-28 00:37:17 +01:00
3 changed files with 30 additions and 0 deletions

20
.drone/drone.yml Normal file
View File

@ -0,0 +1,20 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
username: client
password: ${REGISTRY_PASSWORD}
registry: ${REGISTRY_DOMAIN}:${REGISTRY_PORT}
repo: ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ssh
volumes:
- name: ca
path: /etc/docker/certs.d
volumes:
- name: ca
host:
path: /etc/docker/certs.d

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM appleboy/drone-ssh:1.6.2@sha256:b801dc2cd238c192b6e99acfa7bc3f5b9a03f312bd2feb1e10b3a7a28a1b80ea
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-ssh