Skip to content

Commit

Permalink
azure-podvm-image-build: Use repository vars
Browse files Browse the repository at this point in the history
Use repository vars instead of hardcoded values. This makes it easier to
test in an alternate CI setup created on private Azure accounts.

Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
  • Loading branch information
surajssd committed Oct 2, 2023
1 parent 7f29523 commit a351d2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/azure-podvm-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ permissions:
contents: read

env:
AZURE_PODVM_IMAGE_DEF_NAME: "podvm_image0"
AZURE_PODVM_IMAGE_DEF_NAME: "${{ vars.AZURE_PODVM_IMAGE_DEF_NAME }}"
AZURE_PODVM_IMAGE_VERSION: "${{ inputs.image-version }}"
COMMUNITY_GALLERY_PREFIX: "/CommunityGalleries/cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85"
COMMUNITY_GALLERY_PREFIX: "/CommunityGalleries/${{ vars.AZURE_COMMUNITY_GALLERY_NAME }}"
PODVM_IMAGE_NAME: "peerpod-image-${{ github.run_id }}-${{ github.run_attempt }}"
SSH_USERNAME: "peerpod"
VM_SIZE: "Standard_D2as_v5"
Expand Down

0 comments on commit a351d2b

Please sign in to comment.