mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
! azure-pipelines.yml: set new and old style docker tag (2 tags)
This commit is contained in:
@@ -24,7 +24,9 @@ variables:
|
|||||||
- name: 'CommitHash'
|
- name: 'CommitHash'
|
||||||
value: $[replace(variables['Build.SourceVersion'], format('{0}-', variables['Build.SourceBranchName']), '')]
|
value: $[replace(variables['Build.SourceVersion'], format('{0}-', variables['Build.SourceBranchName']), '')]
|
||||||
- name: 'DockerTag'
|
- name: 'DockerTag'
|
||||||
value: '$(Major).$(Minor).$(Patch)-$(DockerTagSourceBranch)-$(CommitHash)'
|
value: |
|
||||||
|
$(Build.BuildNumber)-$(Build.SourceVersion)
|
||||||
|
$(Major).$(Minor).$(Patch)-$(DockerTagSourceBranch)-$(CommitHash)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: unittests
|
- job: unittests
|
||||||
|
|||||||
Reference in New Issue
Block a user