From 2498013933851664094c1d428df37b7b96976c7d Mon Sep 17 00:00:00 2001 From: Daniel Farkas Date: Wed, 13 Nov 2024 10:23:05 +0100 Subject: [PATCH 1/2] Typo in version --- docs/ci-cd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ci-cd.md b/docs/ci-cd.md index f478b6a03..e421cc15b 100755 --- a/docs/ci-cd.md +++ b/docs/ci-cd.md @@ -61,7 +61,7 @@ stages: deploy: stage: deploy image: - name: deployphp/deployer:7 + name: deployphp/deployer:v7 entrypoint: [""] before_script: - mkdir -p ~/.ssh From 818ba10b3b1fbfce6fb500b7bf947a058240a76d Mon Sep 17 00:00:00 2001 From: Daniel Farkas Date: Wed, 13 Nov 2024 10:38:18 +0100 Subject: [PATCH 2/2] Fix dep path --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4c3c1242..e4462367f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM php:8.3-cli-alpine RUN apk add --no-cache bash git openssh-client rsync -COPY deployer.phar /bin/deployer.phar +COPY --chmod=755 deployer.phar /bin/dep WORKDIR /app -ENTRYPOINT ["php", "/bin/deployer.phar"] +ENTRYPOINT ["/bin/dep"]