2024-03-08 21:26:54 +08:00
|
|
|
FROM docker
|
|
|
|
|
COPY --from=docker/compose-bin:edge /docker-compose /usr/libexec/docker/cli-plugins/docker-compose
|
|
|
|
|
RUN docker compose version
|
2021-12-25 23:28:35 +07:00
|
|
|
|
2024-03-08 21:46:42 +08:00
|
|
|
LABEL 'name'='Docker Compose Remote Deployment Action'
|
|
|
|
|
LABEL 'com.github.actions.name'='Docker Compose Remote Deployment'
|
|
|
|
|
LABEL 'com.github.actions.description'='supports docker-compose remotely through ssh.'
|
2021-12-25 23:28:35 +07:00
|
|
|
LABEL 'com.github.actions.icon'='send'
|
|
|
|
|
LABEL 'com.github.actions.color'='green'
|
|
|
|
|
|
2024-03-08 18:15:54 +08:00
|
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
|
|
|
|
|
|
|
|
|
RUN apk --no-cache add openssh-client socat
|
2021-12-25 23:28:35 +07:00
|
|
|
|
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|