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 kind: pipeline
type: kubernetes type: kubernetes
name: pepebot_build_x86 name: pepebot_build
platform:
os: linux
arch: amd64
steps: steps:
- name: build-main - name: build-main
image: plugins/docker image: plugins/docker
settings: settings:
registry: dutchellie.nl
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
dockerfile: Dockerfile repo: dutchellie.nl/dutchellie/pepebot
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: tags:
- latest - 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) { 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 { if err != nil {
app.errorLog.Print(err) app.errorLog.Print(err)
return return
@ -94,7 +94,7 @@ func (app *application) sendTuesday(s *discordgo.Session, m *discordgo.MessageCr
} }
return 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 { if err != nil {
app.errorLog.Print(err) app.errorLog.Print(err)
return 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) { 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 { if err != nil {
app.errorLog.Print(err) app.errorLog.Print(err)
return return

View File

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