mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-02 14:59:26 +02:00
ci: tag with and without v prefix
This commit is contained in:
parent
99561b420f
commit
a77edcaac3
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
|
@ -4,7 +4,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
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
|
required: true
|
||||||
type: string
|
type: string
|
||||||
tag_latest:
|
tag_latest:
|
||||||
|
|
@ -46,4 +46,5 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/crosstalk-solutions/project-nomad:${{ inputs.version }}
|
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' || '' }}
|
${{ inputs.tag_latest && 'ghcr.io/crosstalk-solutions/project-nomad:latest' || '' }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user