Commit 3d44d202 authored by Philip ABBET's avatar Philip ABBET

[ci] fix

parent bb7932d2
Pipeline #8841 passed with stage
in 34 minutes and 5 seconds
...@@ -20,10 +20,7 @@ build: ...@@ -20,10 +20,7 @@ build:
CONTAINER_NAME: $DOCKER_REGISTRY/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME CONTAINER_NAME: $DOCKER_REGISTRY/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME
script: script:
- CONTAINER_NAME=${CONTAINER_NAME/:v/:}; - CONTAINER_NAME=${CONTAINER_NAME/:v/:};
- sed -i "s/git@gitlab.idiap.ch:/https:\/\/gitlab-ci-token:${CI_BUILD_TOKEN}@gitlab.idiap.ch\//" .gitmodules - docker build --rm=true -t $CONTAINER_NAME .
- git submodule sync
- git submodule update --init --recursive
- ./build.sh $CONTAINER_NAME "gitlab-ci-token:${CI_BUILD_TOKEN}"
- docker images $CONTAINER_NAME - docker images $CONTAINER_NAME
tags: tags:
- docker-build - 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