provide --username
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Torma Kristóf 2020-08-06 22:59:53 +02:00
parent 4b95933662
commit 9d5ed3af2b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ steps:
- name: docker_sock
path: /var/run/docker.sock
commands:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- docker build -t registry.kmlabz.com/$DRONE_REPO .
- docker build -t registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER .
- docker push registry.kmlabz.com/$DRONE_REPO