diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index edccc35b197f36e070f27998e352a5cad4f74699..e3393cd5b10c0d3c55f81a8a54968d6cb803cdb8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: docker.io/labrobotica/labrobotica +image: docker.io/labrobotica/labrobotica:latest stages: - build @@ -8,10 +8,9 @@ stages: build-package: stage: build script: + - apt update || apt -y install ca-certificates && apt update # Uncomment to install dependencies -# - apt update # - apt -y install iri-<package_name>-dev - - apt update - apt -y install iri-iriutils-dev iri-comm-dev - mkdir -pv build - cd build @@ -29,7 +28,7 @@ update_repo: script: - cd build - "scp -i /root/.ssh/iriLabKeyNopwd -r *usb-i2c-adapter*.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 usb-i2c-adapter" + - "ssh irilabo@labrepo.iri.upc.edu -i /root/.ssh/iriLabKeyNopwd -tt /home/irilabo/repo_scripts/update_repo.sh usb-i2c-adapter $(lsb_release -cs)" only: - tags