Skip to content

Commit

Permalink
install terraform in deploy workflow (#75)
Browse files Browse the repository at this point in the history
Terraform is no longer installed in `ubuntu-latest` github actions
runner by default, so installing the binary using the
`hashicorp/setup-terraform` action.

actions/runner-images#10636

> Removed from the Ubuntu 24.04 image due to maintenance reasons.


actions/runner-images#10796 (comment)
https://github.com/hashicorp/setup-terraform
  • Loading branch information
lucasrod16 authored Dec 21, 2024
1 parent f07a31b commit a98fd10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Install terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
with:
terraform_wrapper: false

- name: Deploy
env:
IMAGE_VERSION: ${{ github.ref_name }}
Expand Down

0 comments on commit a98fd10

Please sign in to comment.