More dockerTag escape tinkering.
This commit is contained in:
Родитель
050f7a548f
Коммит
13362778cf
|
@ -173,14 +173,14 @@ stages:
|
|||
Dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
|
||||
buildContext: '$(Build.SourcesDirectory)'
|
||||
tags: |
|
||||
'$(dockerTag)'
|
||||
${{ variables.dockerTag }}
|
||||
|
||||
- bash: |
|
||||
set -xeuo pipefail
|
||||
mkdir $(build.artifactStagingDirectory)/dockerImage
|
||||
echo 'tag = $(dockerTag)'
|
||||
echo 'tag = ${{ variables.dockerTag }}'
|
||||
docker save -o $(build.artifactStagingDirectory)/dockerImage/core-data.tar.gz \
|
||||
aasworldwidetelescope/core-data:$(dockerTag)
|
||||
aasworldwidetelescope/core-data:${{ variables.dockerTag }}
|
||||
displayName: Save image as artifact
|
||||
|
||||
- publish: $(build.artifactStagingDirectory)/dockerImage
|
||||
|
@ -255,4 +255,4 @@ stages:
|
|||
repository: 'aasworldwidetelescope/core-data'
|
||||
command: 'push'
|
||||
tags: |
|
||||
'$(dockerTag)'
|
||||
${{ variables.dockerTag }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче