Skip to content

Commit

Permalink
Use authentication with Docker Hub (plotly#32)
Browse files Browse the repository at this point in the history
* Update config.yml

* Update config.yml

* Update config.yml

* Update .circleci/config.yml

Co-authored-by: Ryan Patrick Kyle <[email protected]>

* Update .circleci/config.yml

Co-authored-by: Ryan Patrick Kyle <[email protected]>

* Update .circleci/config.yml

Co-authored-by: Ryan Patrick Kyle <[email protected]>

Co-authored-by: Ryan Patrick Kyle <[email protected]>
  • Loading branch information
Xing Han Lu and rpkyle authored Oct 16, 2020
1 parent 222eb6d commit d70a931
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ jobs:
"node":
docker:
- image: circleci/python:3.7-node
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB

steps:
- checkout
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

0 comments on commit d70a931

Please sign in to comment.