Skip to content
Snippets Groups Projects
Unverified Commit 3d1c9021 authored by Martin Weise's avatar Martin Weise
Browse files

quote the tags

parent f709e61f
No related branches found
No related tags found
2 merge requests!81New stable release,!43Merge dev to master
......@@ -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