Browse Source

Add build-container step in the pipeline

pull/63/head
Jonathan Wright 7 years ago
parent
commit
d8b8bad708
  1. 7
      .drone.yml

7
.drone.yml

@ -2,6 +2,7 @@ workspace:
base: /go
pipeline:
test:
image: golang:1.9
environment:
@ -9,3 +10,9 @@ pipeline:
commands:
- go test -cover -coverprofile=coverage.out
- go build -ldflags "-s -w -X main.revision=$(git rev-parse HEAD)" -a
build-container:
image: plugins/docker
secrets: [ docker_username, docker_password ]
repo: jonathanio/drone-terraform
auto_tag: true

Loading…
Cancel
Save