Skip to content
Snippets Groups Projects
Commit f401d375 authored by Moritz Maxeiner's avatar Moritz Maxeiner
Browse files

Remove debug

parent 37f32d7b
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ build-ubuntu-18.04:
- GPU_DRIVER_VERSION="$(dpkg-query --showformat='${Version}' --show 'nvidia-driver-*')"
- CACHE_FILE="/var/lib/gitlab-runner/.local/share/rf_docker-gpu-driver-version"
- if [[ -f $CACHE_FILE ]] && [[ "$(cat $CACHE_FILE)" == "$GPU_DRIVER_VERSION" ]]; then OPTS=''; else OPTS='--no-cache'; fi
- echo "A $GPU_DRIVER_VERSION, B $(cat $CACHE_FILE), C $OPTS"
- echo -n $GPU_DRIVER_VERSION > $CACHE_FILE
- docker build $OPTS --pull -t "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:ubuntu-18.04" ubuntu-18.04
- docker push "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:ubuntu-18.04"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment