Initial: Pixelpöbel Discord Bot
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 8s
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:
31
.gitea/workflows/docker-autobuild.yaml
Normal file
31
.gitea/workflows/docker-autobuild.yaml
Normal 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
|
||||
Reference in New Issue
Block a user