This commit is contained in:
		@@ -6,7 +6,8 @@ steps:
 | 
			
		||||
- name: docker
 | 
			
		||||
  image: docker
 | 
			
		||||
  volumes:
 | 
			
		||||
    - "/var/run/docker.sock:/var/run/docker.sock"
 | 
			
		||||
  - name: docker_sock
 | 
			
		||||
    path: /var/run/docker.sock
 | 
			
		||||
  commands:
 | 
			
		||||
    - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
 | 
			
		||||
    - docker build -t registry.kmlabz.com/$DRONE_REPO .
 | 
			
		||||
@@ -21,3 +22,8 @@ steps:
 | 
			
		||||
      from_secret: TEAMS_WEBHOOK
 | 
			
		||||
  when:
 | 
			
		||||
    status: [ failure ]
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  - name: docker_sock
 | 
			
		||||
    host:
 | 
			
		||||
      path: /var/run/docker.sock
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user