From 626262ae7a849271141cbdf3fb1c6c51343f6d11 Mon Sep 17 00:00:00 2001 From: Eric Lemieux Date: Wed, 4 Nov 2020 20:10:21 -0500 Subject: [PATCH] Add docker authentication to CircleCI jobs Signed-off-by: Eric Lemieux --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e9a7a273..0da504e1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,9 @@ jobs: lint: docker: - image: koalaman/shellcheck-alpine + auth: + username: $DOCKER_USER + password: $DOCKER_PASS steps: - checkout - run: @@ -16,6 +19,9 @@ jobs: machine: enabled: true image: circleci/classic:201808-01 + auth: + username: $DOCKER_USER + password: $DOCKER_PASS steps: - checkout - run: @@ -47,6 +53,9 @@ jobs: build: docker: - image: cimg/go:1.14 + auth: + username: $DOCKER_USER + password: $DOCKER_PASS steps: - setup_remote_docker - checkout