-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Silvija Tovernic
committed
Sep 19, 2024
1 parent
323c4c9
commit 8494e25
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }}"}' |