Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
live-coding-fr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab will be unavailable Friday, April 11 at 12:00 a.m. for an update.
Show more breadcrumbs
twitch
live-coding-fr
Commits
e04afd3b
Commit
e04afd3b
authored
3 years ago
by
Mickael DALES
Browse files
Options
Downloads
Patches
Plain Diff
add: add cache docker registry
parent
80a69711
No related branches found
No related tags found
1 merge request
!96
add: add cache docker registry
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-common-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-common-ci.yml
with
7 additions
and
2 deletions
.gitlab-common-ci.yml
+
7
−
2
View file @
e04afd3b
variables
:
MAVEN_OPTS
:
"
-Dhttps.protocols=TLSv1.2
-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true"
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true"
DOCKER_AUTH_CONFIG
:
'
{
"auths":
"docker-io-remote.artifactory.ippon.fr":
{
"auth":
"Y2xvdWQtY2hhbGxlbmdlOkpAN2NmcFlYZ2V0R2RMaGo="
}
}
}'
DOCKER_OPTS
:
"
--insecure-registry
docker-io-remote.artifactory.ippon.fr"
cache
:
paths
:
...
...
@@ -10,7 +12,7 @@ stages:
-
build
.java-parent
:
image
:
maven:3.8.1-openjdk-16-slim
image
:
docker-io-remote.artifactory.ippon.fr/
maven:3.8.1-openjdk-16-slim
stage
:
build
tags
:
-
docker
...
...
@@ -43,7 +45,10 @@ stages:
.jhipster
:
stage
:
build
image
:
jhipster/jhipster:v6.10.1
image
:
$DOCKER_REGISTRY/jhipster/jhipster:v6.10.1
variables
:
DOCKER_HOST
:
tcp://docker:2375
DOCKER_TLS_CERTDIR
:
"
"
services
:
-
docker:19.03.8-dind
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment