consumer_metric/build.sh

8 lines
257 B
Bash
Raw Normal View History

2018-07-04 11:10:51 +00:00
#!/bin/bash
rm ./dist
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/consumer_metric
docker build -t docker.loafle.net/overflow/consumer_metric:1.0.0-SNAPSHOT .
docker push docker.loafle.net/overflow/consumer_metric:1.0.0-SNAPSHOT