feat: with base64 decode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2023-04-07 21:52:59 +02:00
parent 8e63b8ca02
commit 7d4f4cc700
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -35,7 +35,7 @@ steps:
- set -eu - set -eu
- eval `ssh-agent` - eval `ssh-agent`
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_ed25519 - echo "$SSH_KEY" | base64 -d > ~/.ssh/id_ed25519
- chmod -R 600 ~/.ssh - chmod -R 600 ~/.ssh
- ssh-add - ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io - echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io