Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.02 KB

CNOE BACKSTAGE IMAGE BUILDER

The CNOE Backstage image builder creates a backstage image with CNOE customizations applied.

Build

export BACKSTAGE_IMAGE_NAME=backstage-app
export BACKSTAGE_IMAGE_TAG=latest

./build-backstage-image.sh "$BACKSTAGE_IMAGE_NAME:$BACKSTAGE_IMAGE_TAG"

Examples

To remote registry:

export BACKSTAGE_IMAGE_REGISTRY="ghcr.io/cnoe-io/"
export BACKSTAGE_IMAGE_NAME=backstage-app
export BACKSTAGE_IMAGE_TAG=latest

./build-backstage-image.sh "$BACKSTAGE_IMAGE_REGISTRY$BACKSTAGE_IMAGE_NAME:$BACKSTAGE_IMAGE_TAG)"
docker push "$BACKSTAGE_IMAGE_REGISTRY$BACKSTAGE_IMAGE_NAME:$BACKSTAGE_IMAGE_TAG"

To local IDPBuilder hosted Gitea registry:

export BACKSTAGE_IMAGE_REGISTRY="gitea.cnoe.localtest.me:8443/giteaadmin/"
export BACKSTAGE_IMAGE_NAME=backstage-app
export BACKSTAGE_IMAGE_TAG=latest

./build-backstage-image.sh "$BACKSTAGE_IMAGE_REGISTRY$BACKSTAGE_IMAGE_NAME:$BACKSTAGE_IMAGE_TAG)"
docker push "$BACKSTAGE_IMAGE_REGISTRY$BACKSTAGE_IMAGE_NAME:$BACKSTAGE_IMAGE_TAG"