Fábio Kaiser Rauber
2 months ago
1 changed files with 18 additions and 11 deletions
@ -1,12 +1,19 @@ |
|||||
workspace: |
kind: pipeline |
||||
base: /go |
type: kubernetes |
||||
path: src/github.com/drone-plugins/drone-terraform |
name: default |
||||
|
steps: |
||||
pipeline: |
- name: docker |
||||
test: |
image: plugins/docker |
||||
image: golang:1.9 |
|
||||
environment: |
environment: |
||||
- CGO_ENABLED=0 |
DRONE_REPO_BRANCH: master |
||||
commands: |
settings: |
||||
- go test -cover -coverprofile=coverage.out |
repo: porto.interlegis.leg.br/seit/drone-terraform |
||||
- go build -ldflags "-s -w -X main.revision=$(git rev-parse HEAD)" -a |
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