Skip to content

Commit

Permalink
enabled docker build for pushes to main:
Browse files Browse the repository at this point in the history
  • Loading branch information
terminaldweller committed May 13, 2024
1 parent 7069f28 commit e999d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 0 additions & 21 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
// }
})
}

Expand Down Expand Up @@ -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)
// }
})
}

Expand Down Expand Up @@ -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)
// }
})
}

Expand Down

0 comments on commit e999d16

Please sign in to comment.