Due to performance issues, shared runners are currently unavailable. They should come back later today.

Verified Commit 7f755f3a authored by Sheogorath's avatar Sheogorath 🛫

Provide full tor version number as image tags

parent ac99bdb0
Pipeline #11 failed with stage
......@@ -20,6 +20,7 @@ if [ "$VERSION" != "" ]; then
docker tag tor:testing "$PREFIX:$(echo "${VERSION}" | sed -e 's/^v//' | cut -d. -f1)${SUFFIX}"
docker tag tor:testing "$PREFIX:$(echo "${VERSION}" | sed -e 's/^v//' | cut -d. -f1-2)${SUFFIX}"
docker tag tor:testing "$PREFIX:$(echo "${VERSION}" | sed -e 's/^v//' | cut -d. -f1-3)${SUFFIX}"
docker tag tor:testing "$PREFIX:$(echo "${VERSION}" | sed -e 's/^v//' | cut -d. -f1-4)${SUFFIX}"
[ "$SUFFIX" = "" ] && docker tag tor:testing "$PREFIX:latest"
else
echo "No version provided. Skipping tagging..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment