internal/target/gcp: make Bucket optional

The Bucket can now be set also in the worker configuration.
This commit is contained in:
Tomáš Hozza 2022-09-26 18:37:14 +02:00 committed by Ondřej Budai
parent b54b8fa3ab
commit ad34043087

View file

@ -5,7 +5,7 @@ const TargetNameGCP TargetName = "org.osbuild.gcp"
type GCPTargetOptions struct {
Region string `json:"region"`
Os string `json:"os"` // not exposed in cloudapi for now
Bucket string `json:"bucket"`
Bucket string `json:"bucket,omitempty"`
Object string `json:"object"`
ShareWithAccounts []string `json:"shareWithAccounts,omitempty"`