GCE: Apply public-image label on GCE images

Update the GCE image creation process to automatically apply the
'public-image=true' label when publishing new images. This aligns
with standard labeling expectations for images hosted in public
projects.

MFC after:	3 days
This commit is contained in:
Xin LI
2026-06-09 19:33:03 -07:00
parent 925ca9b835
commit c85542b92a
+1
View File
@@ -85,6 +85,7 @@ gce-do-upload-${_FS}:
--architecture=${GCE_ARCH} \
--family=${GCE_FAMILY}-${_FS}${GCE_FAMILY_SUFX} ${GCE_LICENSE} \
--guest-os-features=GVNIC,UEFI_COMPATIBLE \
--labels=public-image=true \
--source-uri gs://${GCE_BUCKET}/${GCE_TARGET_${_FS}}.tar.gz
touch ${.OBJDIR}/${.TARGET}
.endfor