diff --git a/.gitlab-ci_template.yml b/.gitlab-ci_template.yml index e537a2b63f18ec1600c16e47f5113f50ba5fabe6..1118540e66243883b8f7c9f2fea6bbec023f29d7 100644 --- a/.gitlab-ci_template.yml +++ b/.gitlab-ci_template.yml @@ -1,4 +1,4 @@ - image: docker.io/labrobotica/labrobotica + image: docker.io/labrobotica/labrobotica:latest variables: GIT_SUBMODULE_STRATEGY: recursive @@ -13,7 +13,7 @@ script: #- git submodule sync --recursive #- git submodule update --init --recursive - - apt update + - apt update || apt -y install ca-certificates && apt update ##Install dependencies #- apt -y install iri-dep1-dev iri-dep2-dev - mkdir -pv build @@ -33,6 +33,6 @@ script: - cd build - "scp -i /root/.ssh/iriLabKeyNopwd -r *library-name*.deb irilabo@labrepo.iri.upc.edu:packages/" - - "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh library-name" + - "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh library-name $(lsb_release -cs)" only: - tags \ No newline at end of file