From ee6f320f2b42b68ec2a09196b423a5506eb093f0 Mon Sep 17 00:00:00 2001 From: eversC Date: Wed, 3 Jul 2019 11:37:42 +0100 Subject: [PATCH] Add stdin to docker login --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 54b2d420..bde0b8ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,7 +38,7 @@ jobs: go mod download GOOS=linux go build docker build -t ovotech/cloud-key-rotator:latest . - docker login -u=$DOCKER_USER -p=$DOCKER_PASS + echo $DOCKER_PASS | docker login -u=$DOCKER_USER --password-stdin docker push ovotech/cloud-key-rotator go_fmt: