This commit is contained in:
parent
600cb72298
commit
594f1531ab
12
.drone.yml
12
.drone.yml
@ -14,9 +14,6 @@ steps:
|
|||||||
from_secret: DOCKER_IMAGE_NAME
|
from_secret: DOCKER_IMAGE_NAME
|
||||||
DOCKER_REGISTRY_USER:
|
DOCKER_REGISTRY_USER:
|
||||||
from_secret: DOCKER_REGISTRY_USER
|
from_secret: DOCKER_REGISTRY_USER
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
commands:
|
commands:
|
||||||
- sleep 5
|
- sleep 5
|
||||||
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
|
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
|
||||||
@ -33,11 +30,4 @@ trigger:
|
|||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
temp: {}
|
|
Loading…
Reference in New Issue
Block a user