Skip to content

Commit

Permalink
Merge pull request #131 from terraform-docs/release/v1.2.0
Browse files Browse the repository at this point in the history
chore: prepare release v1.2.0
  • Loading branch information
khos2ow authored May 31, 2024
2 parents 62a6cc5 + 4a2bc35 commit e47bfa1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/templates/README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ branch.

## Version

`{{ $version }}` (uses [terraform-docs] v0.17.0, which is supported and tested on Terraform
`{{ $version }}` (uses [terraform-docs] v0.18.0, which is supported and tested on Terraform
version 0.11+ and 0.12+ but may work for others.)

{{- if eq $version "main" }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM quay.io/terraform-docs/terraform-docs:edge
FROM quay.io/terraform-docs/terraform-docs:0.18.0

RUN set -x \
&& apk update \
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branch.

## Version

`v1.1.0` (uses [terraform-docs] v0.17.0, which is supported and tested on Terraform
`v1.2.0` (uses [terraform-docs] v0.18.0, which is supported and tested on Terraform
version 0.11+ and 0.12+ but may work for others.)

### Upgrade v0 to v1
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}

- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@v1.1.0
uses: terraform-docs/gh-actions@v1.2.0
with:
working-dir: .
output-file: README.md
Expand Down Expand Up @@ -147,7 +147,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF Docs
uses: terraform-docs/gh-actions@v1.1.0
uses: terraform-docs/gh-actions@v1.2.0
with:
working-dir: .
```
Expand All @@ -156,7 +156,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF Docs
uses: terraform-docs/gh-actions@v1.1.0
uses: terraform-docs/gh-actions@v1.2.0
with:
working-dir: .,example1,example3/modules/test
```
Expand All @@ -165,7 +165,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF docs
uses: terraform-docs/gh-actions@v1.1.0
uses: terraform-docs/gh-actions@v1.2.0
with:
atlantis-file: atlantis.yaml
```
Expand All @@ -174,7 +174,7 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF docs
uses: terraform-docs/gh-actions@v1.1.0
uses: terraform-docs/gh-actions@v1.2.0
with:
find-dir: examples/
```
Expand All @@ -183,13 +183,13 @@ To enable you need to ensure a few things first:

```yaml
- name: Generate TF docs
uses: terraform-docs/gh-actions@v1.1.0
uses: terraform-docs/gh-actions@v1.2.0
with:
working-dir: examples/
recursive: true
recursive-path: modules
```

Complete examples can be found [here](https://github.com/terraform-docs/gh-actions/tree/v1.1.0/examples).
Complete examples can be found [here](https://github.com/terraform-docs/gh-actions/tree/v1.2.0/examples).

[terraform-docs]: https://github.com/terraform-docs/terraform-docs
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ outputs:

runs:
using: docker
image: "docker://quay.io/terraform-docs/gh-actions:edge"
image: "docker://quay.io/terraform-docs/gh-actions:1.2.0"
env:
INPUT_WORKING_DIR: ${{ inputs.working-dir }}
INPUT_ATLANTIS_FILE: ${{ inputs.atlantis-file }}
Expand Down

0 comments on commit e47bfa1

Please sign in to comment.