Compare commits
2 Commits
dcaeaeb6d6
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 66eba61bbe | |||
| dc09c0f4f5 |
+8
-2
@@ -1,4 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build . -f docker/Dockerfile -t git.ohea.xyz/cursorius/server:latest
|
||||
docker push git.ohea.xyz/cursorius/server:latest
|
||||
if [[ -z "${1}" ]]; then
|
||||
echo "You must provide a docker tag to push to."
|
||||
else
|
||||
echo "Building container git.ohea.xyz/cursorius/server:$1"
|
||||
docker build . -f docker/cursorius/Dockerfile -t "git.ohea.xyz/cursorius/server:$1"
|
||||
echo "Pushing container git.ohea.xyz/cursorius/server:$1"
|
||||
docker push "git.ohea.xyz/cursorius/server:$1"
|
||||
fi
|
||||
|
||||
@@ -101,8 +101,6 @@ func (r *Runner) sendProtoStruct(p protoreflect.ProtoMessage) error {
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
log.Debugf("r.conn: %p", r.conn)
|
||||
|
||||
if err := r.conn.Write(ctx, websocket.MessageBinary, protoOut); err != nil {
|
||||
return fmt.Errorf("Could not send proto to websocket: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user