probe_gateway_metric/build.sh

8 lines
254 B
Bash
Raw Normal View History

2018-05-11 03:54:30 +00:00
#!/bin/bash
rm ./dist
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/probe_gateway_metric
docker build -t docker.loafle.net/overflow/probe_gateway_metric:1.0.0 .
docker push docker.loafle.net/overflow/probe_gateway_metric:1.0.0