Skip to content

Commit ab0bfa2

Browse files
committed
Merge branch '2.3.x'
2 parents f012bd1 + 235f4a7 commit ab0bfa2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

ci/tasks/build-ci-image.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ caches:
1313
params:
1414
CONTEXT: ci-images-git-repo/ci/images
1515
DOCKERFILE: ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
16-
REGISTRY_MIRRORS: ((dockerhub-registry-mirror))
16+
REGISTRY_MIRRORS: ((docker-hub-mirror))
17+
DOCKER_HUB_AUTH: ((docker-hub-auth))
1718
run:
18-
path: build
19+
path: /bin/sh
20+
args:
21+
- "-c"
22+
- |
23+
mkdir -p /root/.docker
24+
cat > /root/.docker/config.json <<EOF
25+
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
26+
EOF
27+
build

0 commit comments

Comments
 (0)