mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-04-10 12:32:17 +02:00
v3.0.0
Complete rewrite! Switched from LFTP to git-ftp Upload diffs based on git history by default lower case kebab argument names Migrated from shell to typescript Added FTP and SFTP tests .git-ftp-ignore and .git-ftp-include support
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -1,18 +1,14 @@
|
||||
FROM alpine:3.10
|
||||
FROM debian:stable-slim
|
||||
|
||||
LABEL version="1.0.0"
|
||||
LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action"
|
||||
LABEL homepage="https://github.com/SamKirkland/FTP-Deploy-Action"
|
||||
LABEL maintainer="Sam Kirkland <FTP-Deploy-Action@samkirkland.com>"
|
||||
|
||||
LABEL "com.github.actions.name"="FTP Deploy Action"
|
||||
LABEL "com.github.actions.description"="Deploy your website via FTP"
|
||||
LABEL "com.github.actions.icon"="upload-cloud"
|
||||
LABEL "com.github.actions.color"="orange"
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y git
|
||||
RUN apt-get install -y git-ftp
|
||||
RUN apt-get install -y nodejs
|
||||
|
||||
RUN apk update
|
||||
RUN apk add openssh sshpass lftp
|
||||
COPY dist/index.js /deploy.js
|
||||
RUN chmod +x deploy.js
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod 777 entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
ENTRYPOINT ["node", "../../deploy.js"]
|
||||
|
||||
Reference in New Issue
Block a user