mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-09 15:24:58 -05:00
AB#2306 Public image sharing in Google (#358)
* document how to publicly share images in gcloud * Write disclamer in debugd * Add disclamer about debug images to contributing file * Print debug banner on startup Signed-off-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
parent
abb4fb4f0f
commit
170a8bf5e0
10 changed files with 118 additions and 16 deletions
|
|
@ -122,6 +122,10 @@ upload-gcp: $(GCP_IMAGE_PATH)
|
|||
--guest-os-features=GVNIC,SEV_CAPABLE,VIRTIO_SCSI_MULTIQUEUE,UEFI_COMPATIBLE \
|
||||
--labels=bootstrapper-sha1=$$(shasum $(BOOTSTRAPPER_OVERRIDE_PATH) | cut -d " " -f 1),bootstrapper-sha512=$$(sha512sum $(BOOTSTRAPPER_OVERRIDE_PATH) | cut -d " " -f 1 | cut -c-63) \
|
||||
--project $(GCP_PROJECT)
|
||||
gcloud compute images add-iam-policy-binding $(GCP_IMAGE_NAME) \
|
||||
--project $(GCP_PROJECT) \
|
||||
--member='allAuthenticatedUsers' \
|
||||
--role='roles/compute.imageUser'
|
||||
gsutil rm gs://$(GCP_BUCKET)/$(GCP_IMAGE_FILENAME)
|
||||
|
||||
image-azure: $(AZURE_IMAGE_PATH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue