Commit 6a87509c authored by Tobias Munk's avatar Tobias Munk

fixed tag deployment

parent b412b7c4
Pipeline #6121 failed with stages
......@@ -17,7 +17,6 @@ docker push "${IMAGE_NAME}":latest
if [ "$LATEST_TAG" = "$CURRENT_VERSION" ]; then
echo "Stable tag $CURRENT_VERSION detected, tagging image..."
docker tag "${COMPOSE_PROJECT_NAME}_php" "${IMAGE_NAME}":"${CURRENT_VERSION}"
docker tag "${COMPOSE_PROJECT_NAME}_php" "${IMAGE_NAME}":"${CURRENT_VERSION}"
docker push "${IMAGE_NAME}:${CURRENT_VERSION}"
echo "Image pushed to registry."
else
......
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