| title | Share your Artifacts with package badges |
|---|---|
| description | How to share your packages with package badges |
| ms.assetid | 60a3f33a-d8bc-436a-a676-c1bd4b3066e7 |
| ms.service | azure-devops-artifacts |
| ms.topic | conceptual |
| ms.date | 06/21/2022 |
| monikerRange | <= azure-devops |
[!INCLUDE version-lt-eq-azure-devops]
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.
Note
You must be a feed administrator to enable package sharing.
::: moniker range=">= azure-devops-2019"
-
Select Artifacts, and then select your feed from the dropdown menu. Select the gear icon
to access the Feed settings.:::image type="content" source="media/feed-settings.png" alt-text="A screenshot showing how to navigate to the feed settings":::
-
Find the Package sharing section and select the checkbox to Enable package badges.
:::image type="content" source="media\enable-package-badges.png" alt-text="A screenshot showing how to enable package badges":::
::: moniker-end
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.
::: moniker range=">= azure-devops-2019"
-
From within your feed, select your package and then select Create badge.
:::image type="content" source="media/create-badge-new-ui.png" alt-text="A screenshot showing how to create a new package badge.":::
-
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.
:::image type="content" source="media/package-badge-setup.png" alt-text="A screenshot showing the create a package badge panel.":::
-
You can now share your package by using the Markdown snippet or the direct image link.
::: moniker-end