fix drone config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-01-23 13:45:27 +01:00
parent 4d2949eb41
commit 999bbb6662
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -14,7 +14,7 @@ steps:
- bandit -r . - bandit -r .
- name: build - name: build
image docker:stable-dind image: docker:stable-dind
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:$DRONE_BUILD_NUMBER" . && docker push "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:$DRONE_BUILD_NUMBER"