Skip to content
Snippets Groups Projects
Commit d57284ab authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

Update cuda-go/build-image.sh

parent 2bbdebac
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,13 @@ set -e
GO_VER=$1
CUDA_VER=11.1.1
if [ -z ${skip_rollback} ]; then
# Retag current prod image with -rollback suffix, also keeping it with the original name on prod for now
docker pull docker-registry.xx.network/elixxir/sysadmin/backend-ci:go$GO_VER-cuda$CUDA_VER
docker tag docker-registry.xx.network/elixxir/sysadmin/backend-ci:go$GO_VER-cuda$CUDA_VER \
docker-registry.xx.network/elixxir/sysadmin/backend-ci:go$GO_VER-cuda$CUDA_VER-rollback
docker push docker-registry.xx.network/elixxir/sysadmin/backend-ci:go$GO_VER-cuda$CUDA_VER-rollback
fi
# Build new version and push to replace
docker build --build-arg GO_VER=$1 -t docker-registry.xx.network/elixxir/sysadmin/backend-ci:go$GO_VER-cuda$CUDA_VER .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment