[init]: Add Source dir parameter

This commit is contained in:
Dragan Filipovic 2019-09-25 23:24:25 +02:00
parent 65ac047ad6
commit 544c80dc4a
3 changed files with 12 additions and 15 deletions

View file

@ -1,27 +1,22 @@
FROM debian:9.5-slim
# Update
RUN apt-get update
# Install packages
RUN apt-get -yq install rsync openssh-client
# Label
LABEL "com.github.actions.name"="rsync deployments"
LABEL "com.github.actions.description"="For deploying code to a webserver via rsync over ssh"
LABEL "com.github.actions.name"="ssh deployments"
LABEL "com.github.actions.description"="For deploying code over ssh"
LABEL "com.github.actions.icon"="truck"
LABEL "com.github.actions.color"="yellow"
LABEL "repository"="http://github.com/contention/rsync-deployments"
LABEL "homepage"="https://github.com/contention/rsync-deployments"
LABEL "maintainer"="Contention <hello@contention.agency>"
LABEL "repository"="http://github.com/easingthemes/ssh-deployments"
LABEL "homepage"="https://github.com/easingthemes/ssh-deployment"
LABEL "maintainer"="Dragan Filipovic <info@frontenddot.com>"
# Copy entrypoint
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]