mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 18:47:40 -05:00
Try to fix variable replacement
This commit is contained in:
@@ -34,7 +34,9 @@ steps:
|
|||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
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
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: weather-serial-reader
|
- name: weather-serial-reader
|
||||||
image: ckaczor/home-monitor-weather-serialreader:{TAG}
|
image: ckaczor/home-monitor-weather-serialreader:#TAG#
|
||||||
terminationMessagePath: "/dev/termination-log"
|
terminationMessagePath: "/dev/termination-log"
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|||||||
Reference in New Issue
Block a user