1
0
Fork 0

ci: add before_script: tfenv install and cache .tfenv dir

This commit is contained in:
Vojtěch Mareš 2024-01-23 16:05:46 +01:00
parent cab6fe0052
commit 0ec6358fd0
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -1,9 +1,10 @@
default:
image: ghcr.io/vojtechmares/container-images/tfenv:latest
cache:
key: dot-terraform
key: terraform
paths:
- .terraform
- .tfenv
stages:
- init
@ -18,6 +19,8 @@ variables:
init:
stage: init
before_script:
- tfenv install
script:
- terraform init