mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-10 04:10:41 +00:00
29 lines
483 B
YAML
29 lines
483 B
YAML
build:
|
|
image: golang:1.5
|
|
environment:
|
|
- GO15VENDOREXPERIMENT=1
|
|
- GOOS=linux
|
|
- GOARCH=amd64
|
|
- CGO_ENABLED=0
|
|
commands:
|
|
- go get
|
|
- go build
|
|
- go test
|
|
|
|
publish:
|
|
docker:
|
|
username: drone
|
|
password: $$DOCKER_PASS
|
|
email: $$DOCKER_EMAIL
|
|
repo: objectpartners/drone-terraform
|
|
when:
|
|
branch: master
|
|
|
|
plugin:
|
|
name: Terraform
|
|
desc: Execute Terraform commands
|
|
type: notify
|
|
image: plugins/drone-terraform
|
|
labels:
|
|
- terraform
|