From d70a93116571a27af21a8e9a49be43521b0b0a7d Mon Sep 17 00:00:00 2001 From: Xing Han Lu Date: Fri, 16 Oct 2020 12:30:57 -0400 Subject: [PATCH] Use authentication with Docker Hub (#32) * Update config.yml * Update config.yml * Update config.yml * Update .circleci/config.yml Co-authored-by: Ryan Patrick Kyle * Update .circleci/config.yml Co-authored-by: Ryan Patrick Kyle * Update .circleci/config.yml Co-authored-by: Ryan Patrick Kyle Co-authored-by: Ryan Patrick Kyle --- .circleci/config.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index be51d17..4656921 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,9 @@ jobs: "node": docker: - image: circleci/python:3.7-node + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB steps: - checkout @@ -43,6 +46,9 @@ jobs: "python-3.6": &test-template docker: - image: circleci/python:3.6-stretch-browsers + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB environment: PERCY_ENABLED: True @@ -96,6 +102,10 @@ jobs: <<: *test-template docker: - image: circleci/python:3.7-stretch-browsers + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB + environment: PERCY_ENABLE: False @@ -104,6 +114,9 @@ workflows: version: 2 build: jobs: - - "python-3.6" - - "python-3.7" - - "node" + - "python-3.6": + context: dash-docker-hub + - "python-3.7": + context: dash-docker-hub + - "node": + context: dash-docker-hub