feat: with actual docker login
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-04 00:20:16 +02:00
parent b00cb42208
commit 4c7ea7dae6
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -82,10 +82,15 @@ steps:
- eval `ssh-agent` - eval `ssh-agent`
- chmod -R 600 ~/.ssh - chmod -R 600 ~/.ssh
- ssh-add - ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- ldd $CI_PREFIX - ldd $CI_PREFIX
- cuddle x ci:main - cuddle x ci:main
environment: environment:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci" CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true" CUDDLE_SSH_AGENT: "true"