diff options
| author | Xin LI <delphij@FreeBSD.org> | 2026-06-10 02:33:03 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2026-06-10 02:33:12 +0000 |
| commit | c85542b92acd286d9e4b034b2ab4d6b6cd46c740 (patch) | |
| tree | 1de4fc21e195204da3fd3c93e5072d8ba89110e5 | |
| parent | 925ca9b8355d10a0dc85175dc865095c9b3370c4 (diff) | |
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
| -rw-r--r-- | release/Makefile.gce | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
