mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -05:00
Try to fix variable replacement
This commit is contained in:
@@ -34,7 +34,9 @@ steps:
|
||||
- task: Bash@3
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: 'sed -i s/{TAG}/${Build.BuildNumber}/ Weather/SerialReader/deploy/manifest.yaml'
|
||||
script: 'sed -i s/#TAG#/$(TAG)/ Weather/SerialReader/deploy/manifest.yaml'
|
||||
env:
|
||||
Tag: $(Build.BuildNumber)
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
|
||||
@@ -86,7 +86,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: weather-serial-reader
|
||||
image: ckaczor/home-monitor-weather-serialreader:{TAG}
|
||||
image: ckaczor/home-monitor-weather-serialreader:#TAG#
|
||||
terminationMessagePath: "/dev/termination-log"
|
||||
terminationMessagePolicy: File
|
||||
imagePullPolicy: Always
|
||||
|
||||
Reference in New Issue
Block a user