Skip to content

Commit

Permalink
Install vagrant & packer from Hashicorp repo
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Feb 25, 2024
1 parent 3d17151 commit 1011539
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: hashicorp/[email protected]
- run: >-
wget -O- https://apt.releases.hashicorp.com/gpg
| sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
- run: >-
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
| sudo tee /etc/apt/sources.list.d/hashicorp.list
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends vagrant libvirt-dev debian-archive-keyring ca-certificates
- run: sudo apt-get install -y --no-install-recommends vagrant packer libvirt-dev debian-archive-keyring ca-certificates
- run: vagrant plugin install vagrant-libvirt
- run: >-
echo
Expand Down

0 comments on commit 1011539

Please sign in to comment.