Update examples
This commit is contained in:
parent
a4a1491789
commit
0b031b9894
13 changed files with 19 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
all: push
|
||||
|
||||
# 0.0 shouldn't clobber any release builds
|
||||
TAG = 0.62
|
||||
TAG = 0.7
|
||||
PREFIX = gcr.io/google_containers/nginx-ingress-controller
|
||||
|
||||
REPO_INFO=$(shell git config --get remote.origin.url)
|
||||
|
|
@ -11,8 +11,8 @@ ifndef VERSION
|
|||
endif
|
||||
|
||||
controller: controller.go clean
|
||||
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags \
|
||||
"-w -X main.version=${VERSION} -X main.gitRepo=${REPO_INFO}" \
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags \
|
||||
"-s -w -X main.version=${VERSION} -X main.gitRepo=${REPO_INFO}" \
|
||||
-o nginx-ingress-controller
|
||||
|
||||
container: controller
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue