From 7d71ad7865158795c1c154aa21762c1c96e756c1 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 4 Aug 2023 00:56:11 +0200 Subject: [PATCH] feat(ci): update ci with best settings Signed-off-by: kjuulh --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index eaf9277..ba1be7d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,11 +41,15 @@ steps: path: /root/.ssh/ - name: dockersock path: /var/run + - name: ci + path: /mnt/ci commands: - eval `ssh-agent` - chmod -R 600 ~/.ssh - ssh-add - echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io + - ldd $CI_PREFIX + - apk add git - cuddle x ci:pr environment: DOCKER_BUILDKIT: 1 @@ -56,7 +60,7 @@ steps: CUDDLE_SECRETS_PROVIDER: 1password CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci" CUDDLE_SSH_AGENT: "true" - CUDDLE_CI: "true" + CI_PREFIX: "/mnt/ci/ci" CUDDLE_PLEASE_TOKEN: from_secret: cuddle_please_token OP_SERVICE_ACCOUNT_TOKEN: