8 lines
245 B
Bash
Executable File
8 lines
245 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rm ./dist
|
|
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/probe_gateway_rpc
|
|
|
|
docker build -t docker.loafle.net/overflow/probe_gateway_rpc:1.0.0 .
|
|
|
|
docker push docker.loafle.net/overflow/probe_gateway_rpc:1.0.0 |