Azure Container Registry plugin for Backstage
The Azure Container Registry (ACR) plugin displays information about your container images available in the Azure Container Registry.
For administrators
Installing and configuring the ACR plugin
-
Run the following command to install the ACR plugin:
yarn workspace app add @janus-idp/backstage-plugin-acr
-
Set the proxy to the desired ACR server in the app-config.yaml file as follows:
proxy:
endpoints:
'/acr/api':
target: 'https://mycontainerregistry.azurecr.io/acr/v1/'
changeOrigin: true
headers:
Authorization: 'Basic ${ACR_AUTH_TOKEN}'
secure: true
-
Set the authorization using one of the following options:
-
Enable an additional tab on the entity view page using the packages/app/src/components/catalog/EntityPage.tsx file as follows:
import { AcrPage, isAcrAvailable } from '@janus-idp/backstage-plugin-acr';
const serviceEntityPage = (
<EntityLayout>
// ...
{/* highlight-add-start */}
<EntityLayout.Route
if={e => Boolean(isAcrAvailable(e))}
path="/acr"
title="ACR"
>
<AcrPage />
</EntityLayout.Route>
{/* highlight-add-end */}
</EntityLayout>
);
-
Annotate your entity using the following annotations:
metadata:
annotations:
'azure-container-registry/repository-name': `<REPOSITORY-NAME>',
For users
Using the ACR plugin in Backstage
ACR is a front-end plugin that enables you to view information about the container images from your Azure Container Registry in Backstage.
Prerequisites
Procedure
-
Open your Backstage application and select a component from the Catalog page.
-
Go to the ACR tab.

The ACR tab in the Backstage UI contains a list of container images and related information, such as TAG, CREATED, LAST MODIFIED, and MANIFEST.