Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 7d1d95f

Browse files
authored
ci(CircleCI): Use docker authenticated pulls (LLC-551) (#328)
1 parent 47d8356 commit 7d1d95f

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 14 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,7 +7,13 @@ jobs:
77
build:
88
docker:
99
- image: node:8.17.0@sha256:ee25271e00572cb09d095f6b35880a284eac570c17452644bc67fd1d8dc7f9f7
10+
auth:
11+
username: $DOCKERHUB_USERNAME
12+
password: $DOCKERHUB_PASSWORD
1013
- image: mongo:3.7.9@sha256:fbc5b316430a970543d2e1668164c764977e777a74ffb05c873d0e5df499b6fb
14+
auth:
15+
username: $DOCKERHUB_USERNAME
16+
password: $DOCKERHUB_PASSWORD
1117
environment:
1218
- NPM_CONFIG_LOGLEVEL: warn
1319
- WINSTON_CONSOLE_LEVEL: none
@@ -39,3 +45,10 @@ jobs:
3945
- deploy:
4046
name: Semantic Release
4147
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)