diff --git a/.drone.yml b/.drone.yml index 200551a..80229ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,6 +36,8 @@ steps: - name: deploy image: registry.greenbaum.cloud/library/triton-docker environment: + DOCKER_CONFIG: + from_secret: docker_config TRITON_SSH_KEY: from_secret: triton_ssh_key TRITON_ACCOUNT: @@ -44,8 +46,9 @@ steps: TRITON_KEY_ID: 59:9f:5a:6f:c4:e2:3b:32:7f:13:1f:de:b7:59:80:85 PROJECT_NAME: miomspace commands: - - mkdir -p /home/node/.ssh + - mkdir -p /home/node/.ssh /home/node/.config/docker - echo -e "$TRITON_SSH_KEY" > /home/node/.ssh/id_rsa + - echo -e "$DOCKER_CONFIG" > /home/node/.config/docker/config.json - /usr/local/bin/docker-entrypoint.sh ./deploy.sh $DRONE_TAG trigger: