Skip to content

Commit

Permalink
fix: fix Windows image version in generating publishing info (#4028)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbelHu authored Feb 2, 2024
1 parent 389e5e1 commit f0ceb8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .pipelines/templates/.builder-release-template-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ steps:
OS_DISK_SAS="$(cat packer-output | grep -a "OSDiskUriReadOnlySas:" | cut -d " " -f 2)"; \
VHD_NAME="$(echo $OS_DISK_SAS | cut -d "/" -f 8 | cut -d "?" -f 1)"; \
SKU_NAME="windows-$WINDOWS_SKU"; fi && \
IMAGE_VERSION=${AKS_WINDOWS_IMAGE_VERSION} \
docker run --rm \
-v ${PWD}:/go/src/github.com/Azure/AgentBaker \
-w /go/src/github.com/Azure/AgentBaker \
Expand All @@ -269,7 +268,7 @@ steps:
-e OS_NAME="Windows" \
-e SKU_NAME=${SKU_NAME} \
-e OFFER_NAME="Windows" \
-e IMAGE_VERSION=${IMAGE_VERSION} \
-e IMAGE_VERSION=${AKS_WINDOWS_IMAGE_VERSION} \
-e HYPERV_GENERATION=${HYPERV_GENERATION} \
-e OS_TYPE="Windows" \
${AZURE_CONTAINER_IMAGE} make -f packer.mk generate-sas
Expand Down

0 comments on commit f0ceb8f

Please sign in to comment.