initialize project structure with essential files and configurations from ToneGuessr

This commit is contained in:
2025-04-24 11:13:29 +02:00
parent 569e390a89
commit e818af6900
20 changed files with 5273 additions and 0 deletions

33
.github/workflows/deploy_docker.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Publish Docker image
on:
push:
branches: [ "main" ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up docker buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
registry: git.gnm.dev
username: ${{ github.actor }}
password: ${{ secrets.GT_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: git.gnm.dev/websiteprojects/liedkampf:main
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}