mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-22 10:40:39 +00:00
1.9 KiB
1.9 KiB
title |
---|
wp-opentofu |
Woodpecker CI plugin to manage infrastructure with OpenTofu.
{{< toc >}}
Usage
steps:
- name: tofu
image: quay.io/thegeeklab/wp-opentofu
settings:
actions:
- validate
- plan
Parameters
{{< propertylist name=wp-opentofu.data sort=name >}}
Build
Build the binary with the following command:
make build
Build the Container image with the following command:
docker build --file Containerfile.multiarch --tag thegeeklab/wp-opentofu .
Test
docker run --rm \
-e PLUGIN_ACTION=validate \
-v $(pwd):/build:z \
-w /build \
thegeeklab/wp-opentofu