Compare commits

...

2 Commits

Author SHA1 Message Date
DutchEllie 6bf7baa399
Changed repo 2022-05-11 10:48:20 +02:00
DutchEllie 0904047c7a
Moved to new domain 2022-05-11 10:20:41 +02:00
3 changed files with 55 additions and 8 deletions

View File

@ -1,16 +1,63 @@
kind: pipeline
type: kubernetes
name: pepebot_build
name: pepebot_build_x86
platform:
os: linux
arch: amd64
steps:
- name: build-main
image: plugins/docker
settings:
registry: dutchellie.nl
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: dutchellie.nl/dutchellie/pepebot
dockerfile: Dockerfile
repo: dutchellie/pepebot
tags:
- latest
- name: build-service
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: pepeservice/Dockerfile
repo: dutchellie/pepebot_service
tags:
- latest
---
kind: pipeline
type: docker
name: pepebot_build_arm64
platform:
os: linux
arch: arm64
steps:
- name: build-main
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
repo: dutchellie/pepebot
tags:
- latest
- name: build-service
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: pepeservice/Dockerfile
repo: dutchellie/pepebot_service
tags:
- latest

View File

@ -53,7 +53,7 @@ func (app *application) sendPepe(s *discordgo.Session, m *discordgo.MessageCreat
}
func (app *application) sendCringe(s *discordgo.Session, m *discordgo.MessageCreate) {
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/cringe.webm")
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.home.dutchellie.nl/cringe.webm")
if err != nil {
app.errorLog.Print(err)
return
@ -94,7 +94,7 @@ func (app *application) sendTuesday(s *discordgo.Session, m *discordgo.MessageCr
}
return
}
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/TBT.webm")
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.home.dutchellie.nl/TBT.webm")
if err != nil {
app.errorLog.Print(err)
return
@ -143,7 +143,7 @@ func (app *application) sendFriday(s *discordgo.Session, m *discordgo.MessageCre
}
func (app *application) sendGithub(s *discordgo.Session, m *discordgo.MessageCreate) {
_, err := s.ChannelMessageSend(m.ChannelID, "My code is hosted publicly over at https://github.com/DutchEllie/pepebot")
_, err := s.ChannelMessageSend(m.ChannelID, "My code is hosted publicly over at https://dutchellie.nl/DutchEllie/pepebot")
if err != nil {
app.errorLog.Print(err)
return

View File

@ -2,7 +2,7 @@ version: "3.7"
services:
app:
container_name: pepebot_server
image: dutchellie.nl/dutchellie/pepebot
image: dutchellie/pepebot
build: .
restart: always
depends_on:
@ -27,7 +27,7 @@ services:
- pepe_db_data:/var/lib/mysql
pepe_service:
container_name: pepebot_service
image: dutchellie.nl/dutchellie/pepebot_service:latest
image: dutchellie/pepebot_service:latest
build: pepeservice
restart: always
environment: