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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user