Skip to content

Commit

Permalink
Merge pull request kubernetes#3657 from satnam6502/serve-hostname
Browse files Browse the repository at this point in the history
Put a version tag on kubernetes/serve_hostname
  • Loading branch information
thockin committed Jan 21, 2015
2 parents dd45246 + efcbdd7 commit a9cbc58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contrib/for-demos/serve_hostname/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
all: serve_hostname

TAG = 1.0

serve_hostname: serve_hostname.go
CGO_ENABLED=0 go build -a --ldflags '-w' ./serve_hostname.go

container: serve_hostname
sudo docker build -t kubernetes/serve_hostname .
sudo docker build -t kubernetes/serve_hostname:$(TAG) .

push:
sudo docker push kubernetes/serve_hostname
sudo docker push kubernetes/serve_hostname:$(TAG)

clean:
rm -f serve_hostname

0 comments on commit a9cbc58

Please sign in to comment.