Skip to content
Snippets Groups Projects
Commit 182c9010 authored by Quentin CHEVALIER's avatar Quentin CHEVALIER
Browse files

Merge branch 'LDAP-refacto' of gitlab.binets.fr:br/sigma-backend into LDAP-refacto

parents 923474ce ec062a0a
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ variables: ...@@ -20,7 +20,7 @@ variables:
cache: cache:
paths: paths:
- node_modules/ - node_modules/
- ldap_connexion_config.json - ldap_credentials.json
stages: stages:
- build - build
...@@ -48,7 +48,7 @@ docker:build: ...@@ -48,7 +48,7 @@ docker:build:
services: services:
- docker:dind - docker:dind
script: script:
- echo $LDAP_CONN_CONFIG > ldap_connexion_config.json - echo $LDAP_CONN_CONFIG > ldap_credentials.json
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- echo "Building Dockerfile..." - echo "Building Dockerfile..."
- docker build --pull -t ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} -t ${CI_APPLICATION_REPOSITORY}:latest --build-arg DB_PASSWD=${DB_PASSWD} . - docker build --pull -t ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} -t ${CI_APPLICATION_REPOSITORY}:latest --build-arg DB_PASSWD=${DB_PASSWD} .
......
This diff is collapsed.
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