We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38047ed commit c1b335bCopy full SHA for c1b335b
.build/release_artifacts.sh
@@ -56,3 +56,15 @@ for f in $(gsutil ls "gs://alloydb-auth-proxy/v$VERSION/alloydb-auth-proxy*"); d
56
sha=$(gsutil cat $f | sha256sum --binary | head -c 64)
57
echo "| [$file](https://storage.googleapis.com/alloydb-auth-proxy/v$VERSION/$file) | $sha |"
58
done
59
+
60
+tag_latest() {
61
+ local new_version=$1
62
+ for registry in "gcr.io" "us.gcr.io" "eu.gcr.io" "asia.gcr.io"
63
+ do
64
+ local base_image="$registry/alloydb-connectors/alloydb-auth-proxy"
65
+ echo "Tagging $new_version as latest in $registry"
66
+ gcloud container images add-tag --quiet "$base_image:$new_version" "$base_image:latest"
67
+ done
68
+}
69
70
+tag_latest "$VERSION"
.build/tag_latest.sh
0 commit comments