diff --git a/.drone.yml b/.drone.yml index 2a1a1aa..54824e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,13 +7,15 @@ steps: - name: docker build an publish image: docker:dind environment: - DOCKER_HOST: tcp://docker:2376 DOCKER_REGISTRY_TOKEN: from_secret: DOCKER_REGISTRY_TOKEN DOCKER_IMAGE_NAME: from_secret: DOCKER_IMAGE_NAME DOCKER_REGISTRY_USER: from_secret: DOCKER_REGISTRY_USER + volumes: + - name: dockersock + path: /var/run commands: - sleep 15 - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin @@ -30,4 +32,11 @@ trigger: services: - name: docker image: docker:dind - privileged: true \ No newline at end of file + privileged: true + volumes: + - name: dockersock + path: /var/run + +volumes: +- name: dockersock + temp: {} \ No newline at end of file