#!/bin/bash set -e set -x echo "Running in $(pwd)" version=$(git describe) case $DOCKER_TAG in *-cuda) version=${version}-cuda ;; esac docker tag $IMAGE_NAME $DOCKER_REPO:$version docker push $DOCKER_REPO:$version