init docker-remote-deployment-action

This commit is contained in:
Sulthon Zainul Habib
2021-12-25 23:28:35 +07:00
commit f5a3ef47cb
5 changed files with 264 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM docker/compose:1.29.2
LABEL 'name'='Docker Deployment Action'
LABEL 'com.github.actions.name'='Docker Deployment'
LABEL 'com.github.actions.description'='supports docker-compose and Docker Swarm deployments'
LABEL 'com.github.actions.icon'='send'
LABEL 'com.github.actions.color'='green'
RUN apk --no-cache add openssh-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]