Skip to content
Snippets Groups Projects
Commit e04afd3b authored by Mickael DALES's avatar Mickael DALES
Browse files

add: add cache docker registry

parent 80a69711
No related branches found
No related tags found
1 merge request!96add: add cache docker registry
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment