This commit is contained in:
parent
9d5ed3af2b
commit
a6b82d2f37
@ -8,6 +8,11 @@ steps:
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
path: /var/run/docker.sock
|
||||
environment:
|
||||
DOCKER_USERNAME:
|
||||
from_secret: DOCKER_USERNAME
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
commands:
|
||||
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
||||
- docker build -t registry.kmlabz.com/$DRONE_REPO .
|
||||
|
Loading…
Reference in New Issue
Block a user