Skip to content

Commit f2b4871

Browse files
authored
ci(CircleCI): Use docker authenticated pulls (LLC-551) (#261)
1 parent 9528e10 commit f2b4871

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2
1+
version: 2.1
22
machine:
33
services:
44
- docker
@@ -7,6 +7,9 @@ jobs:
77
build:
88
docker:
99
- image: node:10
10+
auth:
11+
username: $DOCKERHUB_USERNAME
12+
password: $DOCKERHUB_PASSWORD
1013
environment:
1114
- NPM_CONFIG_LOGLEVEL: warn
1215
working_directory: ~/repo
@@ -42,3 +45,10 @@ jobs:
4245
- deploy:
4346
name: Semantic Release
4447
command: npm run semantic-release
48+
49+
workflows:
50+
build:
51+
jobs:
52+
- build:
53+
context:
54+
- docker-hub-creds

0 commit comments

Comments
 (0)