Browse Source

ci(docker): pass trough docker from host

tags/v1.3.0
Dany Sluijk 4 months ago
parent
commit
b8969abbb2
Signed by: dsluijk GPG Key ID: EEEBA79CCB6729B0
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      .drone.yml

+ 15
- 0
.drone.yml View File

@@ -77,11 +77,26 @@ steps:
- docker login harbor.dany.dev -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD
- docker build . -t harbor.dany.dev/teenyui/teenyui
- docker push harbor.dany.dev/teenyui/teenyui
volumes:
- name: dockersock
path: /var/run
environment:
DOCKER_USERNAME: robot
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD

services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run

volumes:
- name: dockersock
temp: {}

trigger:
branch:
- master


Loading…
Cancel
Save