From cc5de1e7d2c78e2cb292abb4d2f15564a2e9b121 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Wed, 24 Aug 2022 10:37:19 +0200 Subject: [PATCH] ci: terraform init --- .woodpecker.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1abf093..c818ae0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,6 +2,14 @@ platform: linux/arm64 pipeline: + init: + image: registry.monotremata.xyz/terraform + pull: true + commands: + - terraform init -backend-config="conn_str=$BACKEND_CONN_STR" + secrets: + [backend_conn_str] + # gitleaks: # image: registry.monotremata.xyz/gitleaks # pull: true