Skip to content

Commit 98bc591

Browse files
author
Xing Han Lu
authored
Use authentication with Docker Hub (#109)
* Update config.yml * Update config.yml * Update config.yml * Update config.yml
1 parent 4f04bce commit 98bc591

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.circleci/config.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ jobs:
44
"node":
55
docker:
66
- image: circleci/node:8.11.3
7-
7+
auth:
8+
username: dashautomation
9+
password: $DASH_PAT_DOCKERHUB
10+
811
steps:
912
- checkout
1013

@@ -29,7 +32,10 @@ jobs:
2932
"python-3.6": &test-template
3033
docker:
3134
- image: circleci/python:3.6-stretch-browsers
32-
35+
auth:
36+
username: dashautomation
37+
password: $DASH_PAT_DOCKERHUB
38+
3339
environment:
3440
PERCY_ENABLED: True
3541

@@ -103,6 +109,10 @@ jobs:
103109
<<: *test-template
104110
docker:
105111
- image: circleci/python:3.7-stretch-browsers
112+
auth:
113+
username: dashautomation
114+
password: $DASH_PAT_DOCKERHUB
115+
106116
environment:
107117
PERCY_ENABLE: False
108118

@@ -111,6 +121,9 @@ workflows:
111121
version: 2
112122
build:
113123
jobs:
114-
- "python-3.6"
115-
- "python-3.7"
116-
- "node"
124+
- "python-3.6":
125+
context: dash-docker-hub
126+
- "python-3.7":
127+
context: dash-docker-hub
128+
- "node":
129+
context: dash-docker-hub

0 commit comments

Comments
 (0)