Migrate deployment to Gitea Actions and Portainer
Build and Push Container / docker (push) Failing after 19m3s

This commit is contained in:
2026-03-22 11:43:22 -08:00
parent 940781cb83
commit a1ee9e35cc
24 changed files with 259 additions and 136 deletions
+7 -8
View File
@@ -7,11 +7,11 @@ import (
"strings"
"time"
"github.com/bwmarrin/discordgo"
"github.com/dustinpianalto/discordgo"
"github.com/dustinpianalto/disgoman"
"github.com/dustinpianalto/geeksbot"
"github.com/dustinpianalto/geeksbot/internal/discord_utils"
"github.com/dustinpianalto/geeksbot/pkg/services"
"gitea.wayfinderak.com/wayfinderak/geeksbot"
"gitea.wayfinderak.com/wayfinderak/geeksbot/internal/discord_utils"
"gitea.wayfinderak.com/wayfinderak/geeksbot/pkg/services"
)
var PingCommand = &disgoman.Command{
@@ -110,9 +110,9 @@ var GitCommand = &disgoman.Command{
func gitCommandFunc(ctx disgoman.Context, _ []string) {
embed := &discordgo.MessageEmbed{
Title: "Hi there, My code is on Github",
Title: "Hi there, my code is on Gitea",
Color: 0,
URL: "https://github.com/dustinpianalto/Geeksbot",
URL: "https://gitea.wayfinderak.com/wayfinderak/geeksbot",
}
_, err := ctx.Session.ChannelMessageSendEmbed(ctx.Channel.ID, embed)
if err != nil {
@@ -213,10 +213,9 @@ func userCommandFunc(ctx disgoman.Context, args []string) {
Inline: false,
}
guildJoinTime, _ := member.JoinedAt.Parse()
guildJoinedField := &discordgo.MessageEmbedField{
Name: "Joined Guild:",
Value: discord_utils.ParseDateString(guildJoinTime),
Value: discord_utils.ParseDateString(member.JoinedAt),
Inline: false,
}