Merge pull request #23372 from awanlin/topic/docker-deploy-tag-version

Docker Deploy Image tag version when available
This commit is contained in:
Andre Wanlin
2024-03-03 16:15:18 +01:00
committed by GitHub
+2 -1
View File
@@ -7,6 +7,7 @@ on:
env:
RELEASE_VERSION: v${{ github.event.client_payload.version }}
TAG_VERSION: ghcr.io/${{ github.repository_owner }}/backstage:${{ github.event.client_payload.version }}
jobs:
build:
@@ -68,6 +69,6 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository_owner }}/backstage:latest
ghcr.io/${{ github.repository_owner }}/backstage:${{ github.event.client_payload.version }}
${{ github.event.client_payload.version && env.TAG_VERSION || '' }}
labels: |
org.opencontainers.image.description=Docker image generated from the latest Backstage release; this contains what you would get out of the box by running npx @backstage/create-app and building a Docker image from the generated source. This is meant to ease the process of evaluating Backstage for the first time, but also has the severe limitation that there is no way to install additional plugins relevant to your infrastructure.