You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`container`: The Azure Blob Storage container name (default: `buildkit-cache` or `$BUILDKIT_AZURE_STORAGE_CONTAINER` if set)
611
-
*`blobs_prefix`: Global prefix to store / read blobs on the Azure Blob Storage container (`<container>`) (default: `blobs/`)
612
-
*`manifests_prefix`: Global prefix to store / read blobs on the Azure Blob Storage container (`<container>`) (default: `manifests/`)
613
-
614
-
Azure Blob Storage authentication:
615
-
616
-
There are 2 options supported for Azure Blob Storage authentication:
617
-
618
-
* Any system using environment variables supported by the [Azure SDK for Go](https://docs.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication). The configuration must be available for the buildkit daemon, not for the client.
619
-
* Secret Access Key, using the `secret_access_key` attribute to specify the primary or secondary account key for your Azure Blob Storage account. [Azure Blob Storage account keys](https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage)
620
-
621
-
> [!NOTE]
622
-
> Account name can also be specified with `account_name` attribute (or `$BUILDKIT_AZURE_STORAGE_ACCOUNT_NAME`)
623
-
> if it is not part of the account URL host.
624
-
625
-
`--export-cache` options:
626
-
*`type=azblob`
627
-
*`mode=<min|max>`: specify cache layers to export (default: `min`)
628
-
*`min`: only export layers for the resulting image
629
-
*`max`: export all the layers of all intermediate steps
630
-
*`prefix=<prefix>`: set global prefix to store / read files on the Azure Blob Storage container (`<container>`) (default: empty)
631
-
*`name=<manifest>`: specify name of the manifest to use (default: `buildkit`)
632
-
* Multiple manifest names can be specified at the same time, separated by `;`. The standard use case is to use the git sha1 as name, and the branch name as duplicate, and load both with 2 `import-cache` commands.
633
-
*`ignore-error=<false|true>`: specify if error is ignored in case cache export fails (default: `false`)
634
-
635
-
`--import-cache` options:
636
-
*`type=azblob`
637
-
*`prefix=<prefix>`: set global prefix to store / read files on the Azure Blob Storage container (`<container>`) (default: empty)
638
-
*`blobs_prefix=<prefix>`: set global prefix to store / read blobs on the Azure Blob Storage container (`<container>`) (default: `blobs/`)
639
-
*`manifests_prefix=<prefix>`: set global prefix to store / read manifests on the Azure Blob Storage container (`<container>`) (default: `manifests/`)
640
-
*`name=<manifest>`: name of the manifest to use (default: `buildkit`)
641
-
642
592
### Consistent hashing
643
593
644
594
If you have multiple BuildKit daemon instances, but you don't want to use registry for sharing cache across the cluster,
0 commit comments