Changed base image
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
FROM hashicorp/terraform:1.6.2
|
FROM hashicorp/tfci
|
||||||
|
|
||||||
LABEL maintainer="docker@2martens.de" description="Terraform for Drone"
|
LABEL maintainer="docker@2martens.de" description="Terraform for Drone"
|
||||||
RUN mkdir -p /opt/terraform/bin
|
RUN mkdir -p /opt/terraform/bin
|
||||||
|
|||||||
13
README.md
13
README.md
@ -11,6 +11,8 @@ This Drone plugin uses the Terraform CLI and makes it compatible with Drone.
|
|||||||
- name: Step name
|
- name: Step name
|
||||||
image: 2martens/terraform-drone-plugin
|
image: 2martens/terraform-drone-plugin
|
||||||
settings:
|
settings:
|
||||||
|
api_token: <api_token>
|
||||||
|
cloud_organization: <cloud_organization>
|
||||||
args: <args>
|
args: <args>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -30,14 +32,13 @@ clone:
|
|||||||
skip_verify: true
|
skip_verify: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: login to Terraform cloud
|
|
||||||
pull: always
|
|
||||||
image: 2martens/terraform-drone-plugin:1.26.2
|
|
||||||
settings:
|
|
||||||
args: login
|
|
||||||
- name: run plan
|
- name: run plan
|
||||||
pull: always
|
pull: always
|
||||||
image: 2martens/terraform-drone-plugin:1.26.2
|
image: 2martens/terraform-drone-plugin
|
||||||
settings:
|
settings:
|
||||||
|
api_token:
|
||||||
|
from_secret: api_token
|
||||||
|
cloud_organization:
|
||||||
|
from_secret: cloud_organization
|
||||||
args: plan
|
args: plan
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user