From 0d4fa6e25b1690819a2c3182c48476c1a3f1fda0 Mon Sep 17 00:00:00 2001 From: kleph Date: Sat, 15 Feb 2020 12:48:36 +0100 Subject: [PATCH] [CI] Fix drone secrets usage --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 84c6287..819b584 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: