provide --username
Some checks failed
continuous-integration/drone/push Build is failing

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

View File

@ -9,7 +9,7 @@ steps:
- name: docker_sock - name: docker_sock
path: /var/run/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 --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- docker build -t registry.kmlabz.com/$DRONE_REPO . - docker build -t registry.kmlabz.com/$DRONE_REPO .
- docker build -t registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER . - docker build -t registry.kmlabz.com/$DRONE_REPO:$DRONE_BUILD_NUMBER .
- docker push registry.kmlabz.com/$DRONE_REPO - docker push registry.kmlabz.com/$DRONE_REPO