Skip to content

Commit 0623a15

Browse files
Ganesh AnarseGaneshAnarse
authored andcommitted
ZCS-14269: Use private docker images registry instead of public registry.
1 parent f58ec59 commit 0623a15

1 file changed

Lines changed: 30 additions & 5 deletions

File tree

.circleci/config.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,30 @@ jobs:
7171
working_directory: ~/zm-help
7272
shell: /bin/bash -eo pipefail
7373
docker:
74-
- image: zimbra/zm-base-os:devcore-ubuntu-20.04
74+
- image: $DOCKER_REGISTRY/zm-base-os:devcore-ubuntu-20.04
75+
auth:
76+
username: $DOCKER_USER
77+
password: $DOCKER_PASS
7578
<<: *build_job_steps
7679

7780
build_u18:
7881
working_directory: ~/zm-help
7982
shell: /bin/bash -eo pipefail
8083
docker:
81-
- image: zimbra/zm-base-os:devcore-ubuntu-18.04
84+
- image: $DOCKER_REGISTRY/zm-base-os:devcore-ubuntu-18.04
85+
auth:
86+
username: $DOCKER_USER
87+
password: $DOCKER_PASS
8288
<<: *build_job_steps
8389

8490
build_u16:
8591
working_directory: ~/zm-help
8692
shell: /bin/bash -eo pipefail
8793
docker:
88-
- image: zimbra/zm-base-os:devcore-ubuntu-16.04
94+
- image: $DOCKER_REGISTRY/zm-base-os:devcore-ubuntu-16.04
95+
auth:
96+
username: $DOCKER_USER
97+
password: $DOCKER_PASS
8998
<<: *build_job_steps
9099

91100
build_c9:
@@ -102,14 +111,20 @@ jobs:
102111
working_directory: ~/zm-help
103112
shell: /bin/bash -eo pipefail
104113
docker:
105-
- image: zimbra/zm-base-os:devcore-centos-8
114+
- image: $DOCKER_REGISTRY/zm-base-os:devcore-centos-8
115+
auth:
116+
username: $DOCKER_USER
117+
password: $DOCKER_PASS
106118
<<: *build_job_steps
107119

108120
build_c7:
109121
working_directory: ~/zm-help
110122
shell: /bin/bash -eo pipefail
111123
docker:
112-
- image: zimbra/zm-base-os:devcore-centos-7
124+
- image: $DOCKER_REGISTRY/zm-base-os:devcore-centos-7
125+
auth:
126+
username: $DOCKER_USER
127+
password: $DOCKER_PASS
113128
<<: *build_job_steps
114129

115130
deploy_s3:
@@ -136,12 +151,18 @@ workflows:
136151
- build_u20:
137152
requires:
138153
- checkout
154+
context:
155+
- docker-dev-registry
139156
- build_u18:
140157
requires:
141158
- checkout
159+
context:
160+
- docker-dev-registry
142161
- build_u16:
143162
requires:
144163
- checkout
164+
context:
165+
- docker-dev-registry
145166
- build_c9:
146167
requires:
147168
- checkout
@@ -150,9 +171,13 @@ workflows:
150171
- build_c8:
151172
requires:
152173
- checkout
174+
context:
175+
- docker-dev-registry
153176
- build_c7:
154177
requires:
155178
- checkout
179+
context:
180+
- docker-dev-registry
156181

157182
- deploy_s3_hold:
158183
type: approval

0 commit comments

Comments
 (0)