Skip to content
Snippets Groups Projects
Commit 1fead15e authored by Martin Weise's avatar Martin Weise
Browse files

quote the tags

Former-commit-id: 3d1c9021
parent cb71e2fb
No related branches found
No related tags found
1 merge request!42Fixed the query service tests
......@@ -23,12 +23,7 @@ docker login docker.io -u $USER
IMAGE=$(ls -d fda-*)
for DIR in $IMAGE
do
# CHECK=$(docker images "${USER}/${IMAGE}:${VERSION}" -q)
# if [ ! -z $CHECK ]; then
# echo "CHECK ${DIR}: tag ${USER}/${IMAGE}:${VERSION} already exists locally"
# exit 3
# fi
echo "TAG ${DIR}"
docker tag ${IMAGE}:latest ${USER}/${IMAGE}:${VERSION}
docker push ${USER}/${IMAGE}:${VERSION}
echo "TAG ${DIR} (local) ${IMAGE}:latest (remote) ${USER}/${IMAGE}:${VERSION}"
docker tag "${IMAGE}:latest" "${USER}/${IMAGE}:${VERSION}"
docker push "${USER}/${IMAGE}:${VERSION}"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment