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