From 5d799f6635594390e5c233898f14ba735ea5b410 Mon Sep 17 00:00:00 2001 From: "Mathew Merrick (from Dev Box)" Date: Wed, 8 May 2024 11:07:10 -0700 Subject: [PATCH] powershell in azp yaml --- .pipelines/cg-pipeline.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pipelines/cg-pipeline.yaml b/.pipelines/cg-pipeline.yaml index c732527d2bf..7b619c980c4 100644 --- a/.pipelines/cg-pipeline.yaml +++ b/.pipelines/cg-pipeline.yaml @@ -56,3 +56,10 @@ stages: steps: - checkout: self fetchTags: true + - task: PowerShell@2 + inputs: + targetType: 'inline' + script: | + # Now you can call functions from the DockerBuild module + Import-Module -Name "$(Build.SourcesDirectory)\windows\docker\DockerBuildModule.psm1" -Force + Build-RetinaAgentImage -fullBuilderImageName "test/image"