From 23e17bac429ffba45e8195aa7ef4210baab65638 Mon Sep 17 00:00:00 2001 From: Rustem Khusnutdinov Date: Thu, 28 Nov 2024 19:02:36 +0300 Subject: [PATCH] + --- Dockerfile | 2 +- action.yml | 1 - src/{entrypoint.sh => docker-entrypoint.sh} | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename src/{entrypoint.sh => docker-entrypoint.sh} (89%) diff --git a/Dockerfile b/Dockerfile index 8f86500..c1d3910 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ COPY src/default.md.j2 /var/ WORKDIR /workdir -CMD [ "entrypoint" ] +ENTRYPOINT [ "docker-entrypoint.sh" ] diff --git a/action.yml b/action.yml index 44cec4b..294587d 100644 --- a/action.yml +++ b/action.yml @@ -74,4 +74,3 @@ runs: TOKEN_ID: ${{ inputs.CLOUDFLARE_TOKEN_ID }} TOKEN_SECRET: ${{ inputs.CLOUDFLARE_TOKEN_SECRET }} SSH_PRIVATE_KEY: ${{ inputs.SSH_PRIVATE_KEY }} - entrypoint: "entrypoint.sh" diff --git a/src/entrypoint.sh b/src/docker-entrypoint.sh similarity index 89% rename from src/entrypoint.sh rename to src/docker-entrypoint.sh index 6f08ff1..4d0a2b1 100644 --- a/src/entrypoint.sh +++ b/src/docker-entrypoint.sh @@ -4,4 +4,4 @@ eval $(ssh-agent -s) mkdir -p ~/.ssh/ && chmod 700 ~/.ssh echo "$SSH_PRIVATE_KEY" | ssh-add - -entrypoint \ No newline at end of file +./entrypoint \ No newline at end of file