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"