Updated drone config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2020-03-29 17:14:57 +02:00
parent 9c046b63d9
commit c7c7971253

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/consumer" . - docker build -t="$DOCKER_USERNAME/consumer_api" .
- docker build -t="$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER" . - docker build -t="$DOCKER_USERNAME/consumer_api:$DRONE_BUILD_NUMBER" .
- docker push "$DOCKER_USERNAME/consumer" - docker push "$DOCKER_USERNAME/consumer_api"
- docker push "$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER" - docker push "$DOCKER_USERNAME/consumer_api:$DRONE_BUILD_NUMBER"
- name: slack - name: slack
image: plugins/slack image: plugins/slack