11 lines
368 B
Batchfile
11 lines
368 B
Batchfile
go env -w GOOS=linux
|
|
cd ./build
|
|
del artistinfo-dev
|
|
cd ..
|
|
go build -ldflags "-s -w" -o ./build/artistinfo-dev ./cmd/app.go
|
|
docker rmi artistinfo-dev
|
|
docker rmi 121.229.45.214:9006/artistinfo-dev
|
|
docker build . -f .\DockerfileWindowsTest -t artistinfo-dev
|
|
docker tag artistinfo-dev 121.229.45.214:9006/artistinfo-dev
|
|
docker push 121.229.45.214:9006/artistinfo-dev
|
|
pause |