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

This commit is contained in:
Torma Kristóf 2020-03-09 16:55:54 +01:00
parent 0cff76c6a0
commit b91b68fa4a
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -25,10 +25,10 @@ steps:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
commands: commands:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t="$DOCKER_USERNAME/simulator" . - docker build -t="$DOCKER_USERNAME/consumer" .
- docker build -t="$DOCKER_USERNAME/simulator:$DRONE_BUILD_NUMBER" . - docker build -t="$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER" .
- docker push "$DOCKER_USERNAME/simulator" - docker push "$DOCKER_USERNAME/consumer"
- docker push "$DOCKER_USERNAME/simulator:$DRONE_BUILD_NUMBER" - docker push "$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER"
services: services:
- name: docker - name: docker