cloudapi: Drop bucket from composer config
This value is set in the worker config. In future it might also be passed through the api to upload into target accounts, but it should never be set in composer.
This commit is contained in:
parent
c039a91b61
commit
71c78991a6
11 changed files with 11 additions and 37 deletions
|
|
@ -318,7 +318,6 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
|
|||
t := target.NewAWSTarget(&target.AWSTargetOptions{
|
||||
Filename: imageType.Filename(),
|
||||
Region: awsUploadOptions.Region,
|
||||
Bucket: h.server.config.AWSBucket,
|
||||
Key: key,
|
||||
ShareWithAccounts: awsUploadOptions.ShareWithAccounts,
|
||||
})
|
||||
|
|
@ -354,7 +353,6 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
|
|||
t := target.NewAWSS3Target(&target.AWSS3TargetOptions{
|
||||
Filename: imageType.Filename(),
|
||||
Region: awsS3UploadOptions.Region,
|
||||
Bucket: h.server.config.AWSBucket,
|
||||
Key: key,
|
||||
})
|
||||
t.ImageName = key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue