feat: with proper permissions
Some checks failed
continuous-integration/drone/push Build is failing

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

View File

@ -2,7 +2,7 @@ type: docker
kind: pipeline
name: "shuttle-drone-templates"
steps:
- name: test
- name: "wait for dind"
image: docker:dind
volumes:
- name: dockersock
@ -35,8 +35,8 @@ steps:
- set -eu
- eval `ssh-agent`
- mkdir -p ~/.ssh
- chmod -R 600 ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod -R 600 ~/.ssh
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- shuttle run build