From 4c7ea7dae6575c7bc05a2a5b40f9d81e3634dc53 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 4 Aug 2023 00:20:16 +0200 Subject: [PATCH] feat: with actual docker login Signed-off-by: kjuulh --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index e2ba83f..502565b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -82,10 +82,15 @@ steps: - eval `ssh-agent` - chmod -R 600 ~/.ssh - ssh-add + - echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io - ldd $CI_PREFIX - cuddle x ci:main 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"