fix
This commit is contained in:
parent
9f01ecaf80
commit
57af3338a2
|
@ -8,3 +8,5 @@ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/api-$na
|
|||
docker rmi -f api-$name-srv:latest
|
||||
#打包docker镜像
|
||||
docker build -t api-$name-srv:latest .
|
||||
#上传镜像到dockerhub
|
||||
#docker push api-$name-srv:latest
|
Loading…
Reference in New Issue
Block a user