Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 4c06333

Browse files
committed
fix(gha): add vagrant plugin to packer-templates gha
1 parent f2c0a41 commit 4c06333

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/packer-templates.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: packer-templates
22

33
on:
44
workflow_dispatch:
5-
# push:
6-
# branches-ignore:
7-
# - main
8-
# paths:
9-
# - "*.json"
10-
# - .github/workflows/packer-templates.yml
5+
push:
6+
branches-ignore:
7+
- main
8+
paths:
9+
- "*.json"
10+
- .github/workflows/packer-templates.yml
1111

1212
permissions: read-all
1313

@@ -26,8 +26,9 @@ jobs:
2626
PACKER_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | jq -r -M '.current_version')
2727
curl -s "https://releases.hashicorp.com/packer/${PACKER_LATEST_VERSION}/packer_${PACKER_LATEST_VERSION}_linux_amd64.zip" --output /tmp/packer_linux_amd64.zip
2828
sudo unzip -o /tmp/packer_linux_amd64.zip -d /usr/local/bin/
29-
packer plugins install github.com/hashicorp/qemu
3029
packer plugins install github.com/hashicorp/ansible
30+
packer plugins install github.com/hashicorp/qemu
31+
packer plugins install github.com/hashicorp/vagrant
3132
3233
- name: Validate Packer templates
3334
run: |

0 commit comments

Comments
 (0)