internal/boot/azure: set storage account
This was lost in a refactor.
This commit is contained in:
parent
b062d1070d
commit
271960585b
1 changed files with 3 additions and 2 deletions
|
|
@ -83,8 +83,9 @@ func GetAzureCredentialsFromEnv() (*azureCredentials, error) {
|
|||
// UploadImageToAzure mimics the upload feature of osbuild-composer.
|
||||
func UploadImageToAzure(c *azureCredentials, imagePath string, imageName string) error {
|
||||
metadata := azure.BlobMetadata{
|
||||
ContainerName: c.ContainerName,
|
||||
BlobName: imageName,
|
||||
StorageAccount: c.StorageAccount,
|
||||
ContainerName: c.ContainerName,
|
||||
BlobName: imageName,
|
||||
}
|
||||
client, err := azure.NewStorageClient(c.StorageAccount, c.StorageAccessKey)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue