- It is critical that you set the restrictive access policies you need for your storage bucket, because GitHub does not apply specific object permissions or additional access control lists (ACLs) to your storage bucket configuration. For example, if you make your bucket public, data in the bucket will be accessible on the public internet.
- We recommend using a dedicated bucket for GitHub Packages, separate from the bucket you use for GitHub Actions storage.
- Make sure to configure the bucket you'll want to use in the future. We do not recommend changing your storage after you start using GitHub Packages.
Before you can enable and configure GitHub Packages on 您的 GitHub Enterprise Server 实例, you need to prepare your Azure Blob storage bucket. To prepare your Azure Blob storage bucket, we recommend consulting the official Azure Blob storage docs at the official Azure Blob Storage documentation site.
From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .
If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.
在左侧边� �中，单击 管理控制台。
在左边� �中，单击 Packages（包）。
在 "GitHub Packages" 下，选择 Enable GitHub Packages（启用 GitHub Packages）。
Under "Packages Storage", select Azure Blob Storage and enter your Azure container name for your packages storage bucket and connection string.
在左侧边� �下，单击 Save settings（保存设置）。
Note: Saving settings in the 管理控制台 restarts system services, which could result in user-visible downtime.
As a next step, you can customize which package ecosystems you would like to make available to end users on your GitHub Enterprise Server instance. For more information, see "Configuring package ecosystem support for your enterprise."
For an overview of getting started with GitHub Packages on GitHub, see "Getting started with GitHub Packages for your enterprise."