Browse Source

Update drone config file

master
Fábio Kaiser Rauber 2 months ago
parent
commit
e02de84ffc
  1. 29
      .drone.yml

29
.drone.yml

@ -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…
Cancel
Save