Fábio Kaiser Rauber
2 months ago
1 changed files with 18 additions and 11 deletions
@ -1,12 +1,19 @@ |
|||
workspace: |
|||
base: /go |
|||
path: src/github.com/drone-plugins/drone-terraform |
|||
|
|||
pipeline: |
|||
test: |
|||
image: golang:1.9 |
|||
kind: pipeline |
|||
type: kubernetes |
|||
name: default |
|||
steps: |
|||
- name: docker |
|||
image: plugins/docker |
|||
environment: |
|||
- CGO_ENABLED=0 |
|||
commands: |
|||
- go test -cover -coverprofile=coverage.out |
|||
- go build -ldflags "-s -w -X main.revision=$(git rev-parse HEAD)" -a |
|||
DRONE_REPO_BRANCH: master |
|||
settings: |
|||
repo: porto.interlegis.leg.br/seit/drone-terraform |
|||
registry: porto.interlegis.leg.br |
|||
mirror: https://registrycache.interlegis.leg.br |
|||
pull: if-not-exists |
|||
dockerfile: docker/Dockerfile |
|||
auto_tag: true |
|||
username: |
|||
from_secret: porto_user |
|||
password: |
|||
from_secret: porto_pw |
|||
|
Loading…
Reference in new issue