11 lines
316 B
Makefile
11 lines
316 B
Makefile
all: gobottin
|
|
|
|
gobottin: main.go ssha.go util.go acl.go
|
|
go get -d -v
|
|
CGO_ENABLED=0 GOOS=linux go build -a -v
|
|
|
|
docker: all
|
|
docker build -t lxpz/gobottin_amd64:$(TAG) .
|
|
docker push lxpz/gobottin_amd64:$(TAG)
|
|
docker tag lxpz/gobottin_amd64:$(TAG) lxpz/gobottin_amd64:latest
|
|
docker push lxpz/gobottin_amd64:latest
|