Compare commits

..

No commits in common. "6bf7baa3992050d837d1a864c0d76cc149de1b9b" and "dbf07d16b2622f7cbeb808e6a2b1d8027a317b2d" have entirely different histories.

3 changed files with 8 additions and 55 deletions

View File

@ -1,63 +1,16 @@
kind: pipeline
type: kubernetes
name: pepebot_build_x86
platform:
os: linux
arch: amd64
name: pepebot_build
steps:
- name: build-main
image: plugins/docker
settings:
registry: dutchellie.nl
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
---
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
repo: dutchellie.nl/dutchellie/pepebot
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.home.dutchellie.nl/cringe.webm")
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/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.home.dutchellie.nl/TBT.webm")
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/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://dutchellie.nl/DutchEllie/pepebot")
_, err := s.ChannelMessageSend(m.ChannelID, "My code is hosted publicly over at https://github.com/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/pepebot
image: dutchellie.nl/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/pepebot_service:latest
image: dutchellie.nl/dutchellie/pepebot_service:latest
build: pepeservice
restart: always
environment: