ci: tag with and without v prefix

This commit is contained in:
Jake Turner 2026-03-11 17:20:20 +00:00
parent 20b3af4739
commit 4ee08fb344
No known key found for this signature in database
GPG Key ID: 6DCBBAE4FEAB53EB

View File

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Semantic version to label the Docker image under'
description: 'Semantic version to label the Docker image under (no "v" prefix, e.g. "1.2.3")'
required: true
type: string
tag_latest:
@ -46,4 +46,5 @@ jobs:
push: true
tags: |
ghcr.io/crosstalk-solutions/project-nomad:${{ inputs.version }}
ghcr.io/crosstalk-solutions/project-nomad:v${{ inputs.version }}
${{ inputs.tag_latest && 'ghcr.io/crosstalk-solutions/project-nomad:latest' || '' }}