|
1 | 1 | --- |
2 | | -title: Share your Artifacts with package badges |
3 | | -description: How to share your packages with package badges |
| 2 | +title: Share packages using package badges in Azure Artifacts |
| 3 | +description: Learn how to share your packages using package badges in Azure Artifacts. |
4 | 4 | ms.assetid: 60a3f33a-d8bc-436a-a676-c1bd4b3066e7 |
5 | 5 | ms.service: azure-devops-artifacts |
6 | | -ms.topic: conceptual |
7 | | -ms.date: 06/21/2022 |
| 6 | +ms.topic: how-to |
| 7 | +ms.date: 06/03/2025 |
8 | 8 | monikerRange: '>= azure-devops-2020' |
9 | 9 | --- |
10 | 10 |
|
11 | | -# Share your Artifacts with package badges |
| 11 | +# Share packages using package badges in Azure Artifacts |
12 | 12 |
|
13 | 13 | [!INCLUDE [version-gt-eq-2020](../includes/version-gt-eq-2020.md)] |
14 | 14 |
|
15 | | -With Azure Artifacts, you can share your packages anywhere you can share an image by using package badges. You can embed package badges directly into your project's home page or in any Markdown file for your customers to easily find and download your packages. |
| 15 | +Azure Artifacts enables developers to host various types of packages in a single feed and share them based on visibility settings, within a team, across an organization, or with external users. |
16 | 16 |
|
17 | | -## Enable package sharing |
| 17 | +One way to make your packages more discoverable is by using package badges; small embedded images that display key details like package type and version. You can add these badges to your project’s homepage or any Markdown file, making it easy for others to find and download your packages. |
| 18 | + |
| 19 | +## Prerequisites |
| 20 | + |
| 21 | +| **Product** | **Requirements** | |
| 22 | +|--------------------|----------------------| |
| 23 | +| **Azure DevOps** | - An Azure DevOps [organization](../organizations/accounts/create-organization.md).<br>- An Azure DevOps [project](../organizations/projects/create-project.md).<br> - An [Azure Artifacts feed](start-using-azure-artifacts.md#create-a-new-feed). | |
| 24 | + |
| 25 | +## Enable package badges |
18 | 26 |
|
19 | 27 | > [!NOTE] |
20 | | -> You must be a feed administrator to enable package sharing. |
| 28 | +> You must be a **Feed Administrator** to enable package badges. See [Manage permissions](feeds/feed-permissions.md) for more details. |
21 | 29 |
|
22 | | -::: moniker range="<=azure-devops" |
| 30 | +Before you can start using package badges, you must first enable them in your feed settings: |
23 | 31 |
|
24 | | -1. Select **Artifacts**, and then select your feed from the dropdown menu. Select the gear icon  to access the **Feed settings**. |
| 32 | +1. Sign in to your Azure DevOps organization, and then navigate to your project. |
25 | 33 |
|
26 | | - :::image type="content" source="media/feed-settings.png" alt-text="A screenshot showing how to navigate to the feed settings"::: |
| 34 | +1. Select **Artifacts**, select your feed from the dropdown menu, and then select the gear icon  to access **Feed settings**. |
27 | 35 |
|
28 | | -1. Find the **Package sharing** section and select the checkbox to **Enable package badges**. |
| 36 | + :::image type="content" source="media/feed-settings.png" alt-text="A screenshot displaying how to navigate to feed settings."::: |
29 | 37 |
|
30 | | - :::image type="content" source="media\enable-package-badges.png" alt-text="A screenshot showing how to enable package badges"::: |
| 38 | +1. Under **Feed Details**, find the **Package sharing** section and check the **Enable package badges** checkbox. |
31 | 39 |
|
32 | | -::: moniker-end |
| 40 | +1. Select **Save** when you're done. |
| 41 | + |
| 42 | + :::image type="content" source="media\enable-package-badges.png" alt-text="A screenshot displaying how to enable package badges in Azure Artifacts."::: |
33 | 43 |
|
34 | 44 | ## Create a package badge |
35 | 45 |
|
36 | | -With package-sharing enabled, you can create a badge for any package in your feed. But you can only create a badge for the latest version of each package. |
| 46 | +With package sharing enabled, you can now create a badge for any package in your feed. However, keep in mind that you can only create a badge for the latest version of each package. |
| 47 | + |
| 48 | +1. Sign in to your Azure DevOps organization, and then navigate to your project. |
37 | 49 |
|
38 | | -::: moniker range="<=azure-devops" |
| 50 | +1. Select **Artifacts**, select your feed from the dropdown menu, then select the package you want to create a badge for. |
39 | 51 |
|
40 | | -1. From within your feed, select your package and then select **Create badge**. |
| 52 | +1. Under **Overview**, select the ellipsis button, and then select **Create badge**. |
41 | 53 |
|
42 | 54 | :::image type="content" source="media/create-badge-new-ui.png" alt-text="A screenshot showing how to create a new package badge."::: |
43 | 55 |
|
44 | 56 | 1. Select a **Feed view** for your package badge. If you're using release views, select the view that contains the packages you want to share. |
45 | 57 |
|
46 | 58 | :::image type="content" source="media/package-badge-setup.png" alt-text="A screenshot showing the create a package badge panel."::: |
47 | 59 |
|
48 | | -1. You can now share your package by using the Markdown snippet or the direct image link. |
| 60 | +1. You can now share your package by copying the Markdown snippet or the direct image link, and pasting it into your project home page or any markdowm file. |
| 61 | + |
| 62 | +## Related content |
49 | 63 |
|
50 | | -::: moniker-end |
| 64 | +- [Follow a package for publish alerts](how-to/follow-package-notifications.md) |
51 | 65 |
|
52 | | -## Related articles |
| 66 | +- [Limits on package sizes and counts](reference/limits.md) |
53 | 67 |
|
54 | | -- [Limits of package sizes and counts](./reference/limits.md) |
55 | | -- [Package notifications](./how-to/follow-package-notifications.md) |
56 | | -- [Delete and recover packages](./how-to/delete-and-recover-packages.md) |
| 68 | +- [Delete and recover packages](how-to/delete-and-recover-packages.md) |
0 commit comments