diff --git a/etc/azure/deploy-to-k8s.yml b/etc/azure/deploy-to-k8s.yml index a625c1b..23b8290 100644 --- a/etc/azure/deploy-to-k8s.yml +++ b/etc/azure/deploy-to-k8s.yml @@ -7,13 +7,18 @@ steps: - task: PowerShell@2 inputs: filePath: 'etc/k8s/scripts/build-images.ps1' + arguments: '-version $(Build.BuildId)' + - task: Docker@2 inputs: containerRegistry: 'volocr' command: 'login' + - task: PowerShell@2 inputs: filePath: 'etc/azure/scripts/push-images.ps1' + arguments: '-version $(Build.BuildId)' + - task: HelmDeploy@0 inputs: connectionType: 'Azure Resource Manager' @@ -27,4 +32,4 @@ steps: chartName: 'etc/k8s/helm-chart/eventhub' releaseName: 'eh-az' valueFile: 'etc/k8s/helm-chart/eventhub/values.azure.yaml' - arguments: '--namespace eventhub --create-namespace' \ No newline at end of file + arguments: '--namespace eventhub --create-namespace --set global.eventHubImageVersion=$(Build.BuildId)' \ No newline at end of file