clean: initial commit ohne Secrets

This commit is contained in:
vibe-bot 2025-08-07 23:24:56 +02:00
commit c39f5fce0c
20 changed files with 782 additions and 0 deletions

35
.github/workflows/docker-build.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Build and Push Docker image
on:
push:
branches: [ "main" ]
workflow_dispatch:
env:
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/discord-soundboard
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ github.sha }}
platforms: linux/amd64