mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
~ added second label (Debug/Production) to docker image
This commit is contained in:
@@ -121,7 +121,9 @@ jobs:
|
||||
command: 'build'
|
||||
Dockerfile: Dockerfile
|
||||
buildContext:
|
||||
tags: 'debug-$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
tags: |
|
||||
'$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
'Debug'
|
||||
arguments: |
|
||||
--no-cache
|
||||
--target publish
|
||||
@@ -134,7 +136,9 @@ jobs:
|
||||
containerRegistry: 'Harbor isa'
|
||||
repository: 'isa/ui'
|
||||
command: 'push'
|
||||
tags: 'debug-$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
tags: |
|
||||
'$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
'Debug'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Artefakt veröffentlichen: HelmValues'
|
||||
@@ -182,7 +186,9 @@ jobs:
|
||||
command: 'build'
|
||||
Dockerfile: Dockerfile
|
||||
buildContext:
|
||||
tags: 'prod-$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
tags: |
|
||||
'$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
'Production'
|
||||
arguments: |
|
||||
--no-cache
|
||||
--target publish
|
||||
@@ -196,7 +202,9 @@ jobs:
|
||||
containerRegistry: 'Harbor isa'
|
||||
repository: 'isa/ui'
|
||||
command: 'push'
|
||||
tags: 'prod-$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
tags: |
|
||||
'$(Build.BuildNumber)-$(Build.SourceVersion)'
|
||||
'Production'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Artefakt veröffentlichen: HelmValues'
|
||||
|
||||
Reference in New Issue
Block a user