diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-05-13 11:22:55 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-05-13 11:22:55 +0000 |
commit | e999d16e3ba8e80b371ba6dcc30c31a07663f495 (patch) | |
tree | ced66b4ef67ec4fe72256ba480273bb839b02224 | |
parent | added a github action for building the go package (diff) | |
download | milla-e999d16e3ba8e80b371ba6dcc30c31a07663f495.tar.gz milla-e999d16e3ba8e80b371ba6dcc30c31a07663f495.zip |
enabled docker build for pushes to main:
-rw-r--r-- | .github/workflows/docker.yaml | 2 | ||||
-rw-r--r-- | main.go | 21 |
2 files changed, 2 insertions, 21 deletions
diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 4153da3..20f7842 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -2,6 +2,8 @@ name: Publish Docker image on: release: types: [published] + push: + branches: [ "main" ] jobs: push_to_registry: name: Push Docker image to Docker Hub @@ -437,13 +437,6 @@ func ollamaHandler( } sendToIRC(client, event, writer.String(), appConfig.ChromaFormatter) - - // log.Println(writer.String()) - // lines := strings.Split(writer.String(), "\n") - - // for _, line := range lines { - // client.Cmd.Reply(event, line) - // } }) } @@ -548,13 +541,6 @@ func geminiHandler( } sendToIRC(client, event, writer.String(), appConfig.ChromaFormatter) - - // log.Println(writer.String()) - // lines := strings.Split(writer.String(), "\n") - - // for _, line := range lines { - // client.Cmd.Reply(event, line) - // } }) } @@ -637,13 +623,6 @@ func chatGPTHandler( } sendToIRC(client, event, writer.String(), appConfig.ChromaFormatter) - - // log.Println(writer.String()) - // lines := strings.Split(writer.String(), "\n") - - // for _, line := range lines { - // client.Cmd.Reply(event, line) - // } }) } |