Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
1f8a6dda
Commit
1f8a6dda
authored
Dec 11, 2020
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Write docker/config.json for CI Image generation
See gh-24461
parent
ff124c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
build-ci-image.yml
ci/tasks/build-ci-image.yml
+11
-2
No files found.
ci/tasks/build-ci-image.yml
View file @
1f8a6dda
...
...
@@ -13,6 +13,15 @@ caches:
params
:
CONTEXT
:
ci-images-git-repo/ci/images
DOCKERFILE
:
ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
REGISTRY_MIRRORS
:
((dockerhub-registry-mirror))
REGISTRY_MIRRORS
:
((docker-hub-mirror))
DOCKER_HUB_AUTH
:
((docker-hub-auth))
run
:
path
:
build
path
:
/bin/sh
args
:
-
"
-c"
-
|
mkdir -p /root/.docker
cat > /root/.docker/config.json <<EOF
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
EOF
build
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment