Skip to content

Commit

Permalink
add: azure login
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 19, 2024
1 parent 323c4c9 commit 8494e25
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/packer-build-if-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Test jinja action
uses: cuchi/[email protected]
with:
template: images/packer/image-factory-vm/values.auto.pkrvars.hcl.j2
output_file: images/packer/image-factory-vm/values.auto.pkrvars.hcl
# - name: Template packer vars file
# uses: cuchi/[email protected]
# with:
# template: images/packer/image-factory-vm/values.auto.pkrvars.hcl.j2
# output_file: images/packer/image-factory-vm/values.auto.pkrvars.hcl

- name: Test jinja action output
run: cat images/packer/image-factory-vm/test.auto.pkrvars.hcl
- name: Azure Login
uses: azure/login@v2
with:
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'

0 comments on commit 8494e25

Please sign in to comment.