Replace bindata by embed
This commit is contained in:
parent
6fddff0b9c
commit
b197fcd9af
5 changed files with 50 additions and 70 deletions
|
|
@ -11,10 +11,9 @@ steps:
|
|||
- name: build
|
||||
image: golang:1
|
||||
commands:
|
||||
- apt-get update && apt-get install -y build-essential git go-bindata
|
||||
- go generate -v
|
||||
- go get -v -d
|
||||
- go build -v -ldflags="-s -w" -o chldapasswd
|
||||
- apt-get update && apt-get install -y build-essential git
|
||||
- go get -d
|
||||
- go build -ldflags="-s -w" -o chldapasswd
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue