build_docker.sh: prefix version strings with v

Signed-off-by: Maisem Ali <maisem@tailscale.com>
(cherry picked from commit 0a9932f3b2)
This commit is contained in:
Maisem Ali 2021-12-03 13:43:01 -08:00
parent c005f67314
commit caf0da3628

View File

@ -30,6 +30,6 @@ go run github.com/tailscale/mkctr@latest \
-X tailscale.com/version.Long=${VERSION_LONG} \
-X tailscale.com/version.Short=${VERSION_SHORT} \
-X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}" \
--tags="${VERSION_SHORT},${VERSION_MINOR}" \
--tags="v${VERSION_SHORT},v${VERSION_MINOR}" \
--repos="tailscale/tailscale,ghcr.io/tailscale/tailscale" \
--push