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