0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-14 09:50:40 +00:00
wp-opentofu/docs/content/_index.md

1.9 KiB

title
wp-opentofu

Build Status Docker Hub Quay.io Go Report Card GitHub contributors Source: GitHub License: Apache-2.0

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