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