This commit is contained in:
parent
999bbb6662
commit
5a68ec1aba
@ -15,6 +15,11 @@ steps:
|
||||
|
||||
- name: build
|
||||
image: docker:stable-dind
|
||||
environment:
|
||||
DOCKER_USERNAME:
|
||||
from_secret: DOCKER_USERNAME
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
commands:
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
|
||||
- docker build -t="registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER" . && docker push "registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER"
|
||||
|
Loading…
Reference in New Issue
Block a user