Initial config for building the plugin itself

This commit is contained in:
Erin Call
2019-12-03 09:50:15 -08:00
parent 6b121047e1
commit ba75a9b1d8
7 changed files with 87 additions and 1 deletions

22
.drone.yml Normal file
View File

@@ -0,0 +1,22 @@
kind: pipeline
type: docker
name: default
steps:
- name: test
image: golang:1.13
commands:
- go vet ./...
- name: build
image: golang:1.13
commands:
- go build -o build/drone-helm cmd/drone-helm/main.go
- name: publish
image: plugins/docker
auto_tag: true
settings:
dockerfile: Dockerfile
registry: '192.168.0.17:5000'
repo: 192.168.0.17:5000/drone-helm3
insecure: true