Commit 0593d41c authored by Felix Abecassis US's avatar Felix Abecassis US

Change version parsing to work with CUDA 10.0

parent c4e64b37
......@@ -46,8 +46,8 @@ stages:
stage: cudnn
script:
- VERSION="${CI_JOB_NAME:1}"
- CUDA_VERSION="${CI_JOB_NAME:1:3}"
- CUDNN_VERSION="${CI_JOB_NAME:5}"
- CUDA_VERSION="${VERSION%-*}"
- CUDNN_VERSION="${VERSION#*-}"
- docker pull "${REPOSITORY}:${VERSION}-runtime-${OS}" || true
- docker build --pull -t "${REPOSITORY}:${VERSION}-runtime-${OS}"
--cache-from "${REPOSITORY}:${VERSION}-runtime-${OS}-disable"
......
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