git: 6c2ea28241db - stable/15 - GCE: Apply public-image label on GCE images
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jun 2026 03:10:13 UTC
The branch stable/15 has been updated by delphij:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c2ea28241db86e22aabf1baf1c580cf190d0d0f
commit 6c2ea28241db86e22aabf1baf1c580cf190d0d0f
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-06-10 02:33:03 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-06-20 03:09:43 +0000
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.
(cherry picked from commit c85542b92acd286d9e4b034b2ab4d6b6cd46c740)
---
release/Makefile.gce | 1 +
1 file changed, 1 insertion(+)
diff --git a/release/Makefile.gce b/release/Makefile.gce
index 31770bfd5098..f5c657c3c103 100644
--- a/release/Makefile.gce
+++ b/release/Makefile.gce
@@ -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