Merge pull request #4679 from ywk253100/release-test-2

Append "-dev" suffix for the image tag of release branches
This commit is contained in:
Wenkai Yin(尹文开)
2022-02-22 09:35:37 +08:00
committed by GitHub

View File

@@ -71,6 +71,9 @@ if [[ ! -z "$TAG" ]]; then
else
echo "We're on branch $BRANCH"
VERSION="$BRANCH"
if [[ "$VERSION" == release-* ]]; then
VERSION=${VERSION}-dev
fi
fi
if [[ -z "$BUILDX_PLATFORMS" ]]; then
@@ -82,6 +85,7 @@ echo "Highest tag found: $HIGHEST"
echo "BRANCH: $BRANCH"
echo "TAG: $TAG"
echo "TAG_LATEST: $TAG_LATEST"
echo "VERSION: $VERSION"
echo "BUILDX_PLATFORMS: $BUILDX_PLATFORMS"
echo "Building and pushing container images."