Skip to content

Commit 5fc3ead

Browse files
authored
Update config.yml
Added secrets to be able to pull public images
1 parent 097f7f5 commit 5fc3ead

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ jobs:
44
working_directory: ~/project
55
docker:
66
- image: starefossen/ruby-node:2-8
7+
auth:
8+
username: intelexdocker
9+
password: $DOCKERHUB_PASSWORD
710
steps:
811
- checkout
912
- run:
@@ -22,6 +25,9 @@ jobs:
2225
working_directory: ~/project
2326
docker:
2427
- image: starefossen/ruby-node:2-8
28+
auth:
29+
username: intelexdocker
30+
password: $DOCKERHUB_PASSWORD
2531
steps:
2632
- checkout
2733
- add_ssh_keys:
@@ -43,7 +49,11 @@ workflows:
4349
build-and-deploy:
4450
jobs:
4551
- build
52+
context:
53+
- docker-hub
4654
- deploy:
55+
context:
56+
- docker-hub
4757
filters:
4858
branches:
4959
only: master

0 commit comments

Comments
 (0)