[CI] Fix drone secrets usage
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kleph 2020-02-15 12:48:36 +01:00
parent 0d9c4f38b9
commit 0d4fa6e25b

View file

@ -24,9 +24,13 @@ steps:
image: docker:stable
environment:
DOCKER_HOST: tcp://docker:2375
USERNAME:
from_secret: dockerhub_username
PASSWORD:
from_secret: dockerhub_password
commands:
- docker build -t kleph/beer .
- docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASS
- docker login -u $USERNAME -p $PASSWORD
- docker image push kleph/beer
services: