Skip to content

Commit

Permalink
fix: Revert "fix: strip leading 'v' from dockerhub tags" (#2367)
Browse files Browse the repository at this point in the history
Reverts #2360
  • Loading branch information
spypsy authored Sep 18, 2023
1 parent 6d3ba3f commit 53bc041
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build-system/scripts/deploy_dockerhub
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ if [[ "$COMMIT_TAG" == *"/"* ]]; then
COMMIT_TAG_VERSION="${COMMIT_TAG#*/}"
echo "Tag was made for: $REPO_NAME"
echo "Version: $COMMIT_TAG_VERSION"
# Check if REPO_NAME is equal to REPOSITORY

# Check if REPO_NAME is equal to REPOSITORY
if [ "$REPO_NAME" != "$REPOSITORY" ]; then
echo "REPO_NAME ($REPO_NAME) does not match REPOSITORY ($REPOSITORY). Exiting..."
exit 1
Expand All @@ -48,8 +48,6 @@ VERSION=$(npx semver $COMMIT_TAG_VERSION)
if [ -z "$VERSION" ]; then
echo "$COMMIT_TAG_VERSION is not a semantic version."
exit 1
else
COMMIT_TAG_VERSION=$VERSION
fi

echo "Deploying to dockerhub: $IMAGE_DEPLOY_URI"
Expand Down

0 comments on commit 53bc041

Please sign in to comment.