Initial: Pixelpöbel Discord Bot
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 8s

- Modular Discord Bot mit TypeScript und discord.js
- Grouped Commands (/admin, /owner subcommands)
- SQLite Datenbank mit Persistenz
- Twitch Monitoring mit Stream-ID Tracking
- Konfigurierbares Warn-System (Auto-Kick/Mute/Ban)
- Mute mit verschiedenen Zeiteinheiten (sec, min, hour, day, week, month, year, perm)
- Auto-Deploy beim Start (Option 3)
- Docker Support

Features:
- /ping, /help, /twitch (online, add, remove, list)
- /admin (kick, warn, unwarn, mute, unmute, ban, unban, config)
- /owner (deploy, stats, servers)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 16:29:30 +01:00
commit 40be1e181c
26 changed files with 3042 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
name: Auto Build and Push Docker Image
on:
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and Push to local registry
run: |
REGISTRY="192.168.88.201:5000"
IMAGE_NAME="${{ gitea.repository }}"
# Automatische Versionierung mit Autobuild-Suffix
VERSION="v${{ gitea.run_number }}-autobuild"
FULL_IMAGE_PATH="$REGISTRY/$IMAGE_NAME"
echo "Starte automatischen Build für Version: $VERSION"
docker build -t $FULL_IMAGE_PATH:latest .
docker tag $FULL_IMAGE_PATH:latest $FULL_IMAGE_PATH:$VERSION
docker push $FULL_IMAGE_PATH:latest
docker push $FULL_IMAGE_PATH:$VERSION

View File

@@ -0,0 +1,36 @@
name: Build and Push Docker Image
on:
workflow_dispatch:
inputs:
tag_name:
description: 'Version (z.B. 1.0.0). Leer lassen für automatische v-Nummer.'
required: false
default: ''
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and Push to local registry
run: |
REGISTRY="192.168.88.201:5000"
# Hier wird automatisch der Name des neuen Projekts eingesetzt:
IMAGE_NAME="${{ gitea.repository }}"
if [ -z "${{ github.event.inputs.tag_name }}" ]; then
VERSION="v${{ gitea.run_number }}"
else
VERSION="${{ github.event.inputs.tag_name }}"
fi
FULL_IMAGE_PATH="$REGISTRY/$IMAGE_NAME"
docker build -t $FULL_IMAGE_PATH:latest .
docker tag $FULL_IMAGE_PATH:latest $FULL_IMAGE_PATH:$VERSION
docker push $FULL_IMAGE_PATH:latest
docker push $FULL_IMAGE_PATH:$VERSION