From 8e63b8ca02fb6b77759efadecd71303eba3963fb Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 7 Apr 2023 21:52:15 +0200 Subject: [PATCH] feat: with proper permissions --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9d8c4cf..4d14908 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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