Commit dbe9e5d1 authored by Guillaume Mella's avatar Guillaume Mella

SUFFIX should also be used to change into the right directory

parent 29dd2e40
Pipeline #32520 passed with stage
in 48 seconds
......@@ -12,7 +12,7 @@ stages :
- docker:dind
before_script:
- source .env
- cd oidb-$IMAGE
- cd oidb-$IMAGE$IMAGE_SUFFIX
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --build-arg IMAGE_TAG=$IMAGE_TAG --build-arg IMAGE_MAMAN_E=$IMAGE_MAMAN_E --build-arg MYCLASSPATH=$MYCLASSPATH --build-arg SVN_TAG=$SVN_TAG --build-arg OIDB_JAVA_XMS=$OIDB_JAVA_XMS --build-arg OIDB_JAVA_XMX=$OIDB_JAVA_XMX -t $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG$IMAGE_SUFFIX .
......@@ -29,7 +29,7 @@ build existdb-debug:
IMAGE: existdb
IMAGE_MAMAN_E: $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG
# do not put a second colon to keep only one in the final image name
IMAGE_SUFFIX: "debug"
IMAGE_SUFFIX: "-debug"
build postgres:
<<: *docker_build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment