Skip to content

Commit

Permalink
Append "-dev" suffix for the image tag of release branches
Browse files Browse the repository at this point in the history
Append "-dev" suffix for the image tag of release branches

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
  • Loading branch information
ywk253100 committed Feb 21, 2022
1 parent 4a0fcff commit 8dbc826
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,17 @@ if [[ ! -z "$TAG" ]]; then
else
echo "We're on branch $BRANCH"
VERSION="$BRANCH"
if [[ "$VERSION" == release-* ]]; then
VERSION=${VERSION}-dev
fi
fi

# Debugging info
echo "Highest tag found: $HIGHEST"
echo "BRANCH: $BRANCH"
echo "TAG: $TAG"
echo "TAG_LATEST: $TAG_LATEST"
echo "VERSION: $VERSION"

echo "Building and pushing container images."

Expand Down

0 comments on commit 8dbc826

Please sign in to comment.