Commit c585bbe8 authored by LAVENIER's avatar LAVENIER
Browse files

[fix] CI: fix imagine build, using user/group

parent 278a94d9
......@@ -255,8 +255,9 @@ gitlab-release:
stage: docker
script:
# Build variables: set default values
- export IMAGE_GROUPID=${IMAGE_GROUPID:20001}
- export IMAGE_USERID=${IMAGE_USERID:20001}
- export IMAGE_GROUPID=${IMAGE_GROUPID:20001}
- echo "Creating image - userid=${IMAGE_USERID} groupid=${IMAGE_GROUPID}"
# Create the target directory, to build the image
- mkdir -p target/docker/config
- cp -rf ${APP_WAR_MODULE}/src/main/docker/* target/docker/
......@@ -276,14 +277,14 @@ gitlab-release:
docker:develop:
extends: .docker-build
variables:
IMAGE_TAG: develop
IMAGE_TAG: 'develop'
only:
- develop
docker:imagine:
extends: .docker-build
variables:
IMAGE_TAG: imagine
IMAGE_TAG: 'imagine'
only:
- feature/imagine
......@@ -298,7 +299,7 @@ docker:release:
docker:ifremer-isi-val:
extends: .docker-build
variables:
IMAGE_TAG: $CI_COMMIT_TAG
IMAGE_TAG: 'isi-val'
IMAGE_USERID: 25484
IMAGE_GROUPID: 10004
only:
......
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