Skip to content
Snippets Groups Projects
Commit 2b860a88 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Fixed bug in setting rev.

parent ee17b587
No related branches found
No related tags found
No related merge requests found
Pipeline #614 failed with stage
in 10 seconds
......@@ -17,11 +17,11 @@ stages:
stage: opencl
script:
- if [ $CI_COMMIT_REF_NAME == "develop" ]; then
REV = "git";
REV="git";
elif [ $CI_COMMIT_REF_NAME == "master" ]; then
REV = "latest";
REV="latest";
else
REV = "$CI_COMMIT_REF_NAME";
REV="$CI_COMMIT_REF_NAME";
fi
- docker pull "${REPOSITORY}-nvidia:${REV}" || true
- docker build --network=host --pull -t "${REPOSITORY}-nvidia:${REV}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment