From 56d33e2ca591186b6149e69fb6e0af7a512e8fba Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 13 Aug 2023 14:12:52 +0200 Subject: [PATCH] chore(ci): fix release step Signed-off-by: kjuulh --- .drone.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index d6028fd..f695b33 100644 --- a/.drone.yml +++ b/.drone.yml @@ -90,7 +90,6 @@ steps: - 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:main environment: @@ -127,18 +126,25 @@ steps: path: /root/.ssh/ - name: dockersock path: /var/run + - name: ci + path: /mnt/ci commands: - eval `ssh-agent` - chmod -R 600 ~/.ssh - ssh-add - - cuddle x build:release:all - - cuddle x deploy:docs:preview + - echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io + - apk add git + - cuddle x ci:release environment: DOCKER_BUILDKIT: 1 + DOCKER_PASSWORD: + from_secret: docker_password + DOCKER_USERNAME: + from_secret: docker_username 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: