ci: add docker config to enable pulls from private
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
docker registry
This commit is contained in:
parent
19135c85f4
commit
bde0ce8e66
|
@ -36,6 +36,8 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: registry.greenbaum.cloud/library/triton-docker
|
image: registry.greenbaum.cloud/library/triton-docker
|
||||||
environment:
|
environment:
|
||||||
|
DOCKER_CONFIG:
|
||||||
|
from_secret: docker_config
|
||||||
TRITON_SSH_KEY:
|
TRITON_SSH_KEY:
|
||||||
from_secret: triton_ssh_key
|
from_secret: triton_ssh_key
|
||||||
TRITON_ACCOUNT:
|
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
|
TRITON_KEY_ID: 59:9f:5a:6f:c4:e2:3b:32:7f:13:1f:de:b7:59:80:85
|
||||||
PROJECT_NAME: miomspace
|
PROJECT_NAME: miomspace
|
||||||
commands:
|
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 "$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
|
- /usr/local/bin/docker-entrypoint.sh ./deploy.sh $DRONE_TAG
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|
Loading…
Reference in a new issue