From 748f31f06ce90497b200c85b3c5b479677d3f1e6 Mon Sep 17 00:00:00 2001 From: Stefan H Date: Thu, 18 Jan 2024 17:54:04 +0100 Subject: [PATCH] fixed login to dockerhub --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2c0c96f..707c8ae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,7 @@ steps: image: docker:dind commands: - sleep 5 # give docker enough time to start - - echo $DOCKER_PASSWORD - - docker login -u silson -p $DOCKER_PASSWORD registry.hub.docker.com + - echo $DOCKER_PASSWORD | docker login --username silson --password-stdin registry.hub.docker.com - docker build -t silson/php-apache-rsvg . - docker push --all-tags https://hub.docker.com/r/silson/php-apache-rsvg environment: