Docker Deploy Image tag version when available

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2024-03-03 13:02:08 +01:00
parent 39b4731c0b
commit dca5eb3c9d
+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.