0.1.8 • Published 1 year ago
@fmenesesg/backstage-plugin-quay v0.1.8
quay-frontend
Welcome to the quay-frontend plugin! This plugin will show you information about your docker images within quay
This plugin was created through the Backstage CLI
Getting started
Enabling frontend
Install the plugin
yarn workspace app add @fmenesesg/backstage-plugin-quay
Set the proxy to desired Quay server
# app-config.yaml proxy: '/quay/api': target: 'https://quay.io' changeOrigin: true
Enable additional tab on the entity view page
// packages/app/src/components/catalog/EntityPage.tsx import { QuayPage, isQuayAvailable } from '@fmenesesg/backstage-plugin-quay'; const serviceEntityPage = ( <EntityPageLayout> // ... <EntityLayout.Route if={isQuayAvailable} path="/quay" title="Quay"> <QuayPage /> </EntityLayout.Route> </EntityPageLayout> );
Annotate your entity with
metadata: annotations: 'quay.io/repository-slug': `<ORGANIZATION>/<REPOSITORY>',