mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
~ back to one tag, added extra label BuildType=(Debug/Production)
This commit is contained in:
@@ -121,14 +121,13 @@ jobs:
|
||||
command: 'build'
|
||||
Dockerfile: Dockerfile
|
||||
buildContext:
|
||||
tags: |
|
||||
$(Build.BuildNumber)-$(Build.SourceVersion)
|
||||
Debug
|
||||
tags: '$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
arguments: |
|
||||
--no-cache
|
||||
--target publish
|
||||
--build-arg SEMVERSION=$(Major).$(Minor).$(Patch)
|
||||
--build-arg BuildUniqueID=$(BuildUniqueID)
|
||||
--label BuildType=Debug
|
||||
|
||||
- task: Docker@2
|
||||
displayName: 'push ISAClient Debug'
|
||||
@@ -136,9 +135,7 @@ jobs:
|
||||
containerRegistry: 'Harbor isa'
|
||||
repository: 'isa/ui'
|
||||
command: 'push'
|
||||
tags: |
|
||||
$(Build.BuildNumber)-$(Build.SourceVersion)
|
||||
Debug
|
||||
tags: '$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Artefakt veröffentlichen: HelmValues'
|
||||
@@ -186,15 +183,14 @@ jobs:
|
||||
command: 'build'
|
||||
Dockerfile: Dockerfile
|
||||
buildContext:
|
||||
tags: |
|
||||
$(Build.BuildNumber)-$(Build.SourceVersion)
|
||||
Production
|
||||
tags: '$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
arguments: |
|
||||
--no-cache
|
||||
--target publish
|
||||
--build-arg IS_PRODUCTION=true
|
||||
--build-arg SEMVERSION=$(Major).$(Minor).$(Patch)
|
||||
--build-arg BuildUniqueID=$(BuildUniqueID)
|
||||
--label BuildType=Production
|
||||
|
||||
- task: Docker@2
|
||||
displayName: 'push ISAClient Prod'
|
||||
@@ -202,9 +198,8 @@ jobs:
|
||||
containerRegistry: 'Harbor isa'
|
||||
repository: 'isa/ui'
|
||||
command: 'push'
|
||||
tags: |
|
||||
$(Build.BuildNumber)-$(Build.SourceVersion)
|
||||
Production
|
||||
tags: '$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Artefakt veröffentlichen: HelmValues'
|
||||
|
||||
Reference in New Issue
Block a user