More dockerTag escape tinkering.

This commit is contained in:
Carifio24 2024-09-26 14:20:16 -04:00
Родитель 050f7a548f
Коммит 13362778cf
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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 }}