Initial code commit

这个提交包含在:
Barry Bell
2019-02-09 13:17:45 +00:00
父节点 dc7ac312a6
当前提交 f8860c9bce
共有 3 个文件被更改,包括 80 次插入 和 2 次删除

27
Dockerfile 普通文件
查看文件

@ -0,0 +1,27 @@
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.icon"="truck"
LABEL "com.github.actions.color"="yellow"
LABEL "repository"="http://github.com/contention/action-rsync-deploy"
LABEL "homepage"="https://github.com/contention/action-rsync-deploy"
LABEL "maintainer"="Contention <hello@contention.agency>"
# Copy entrypoint
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]