Use .gitea/ instead of .github/

This commit is contained in:
2025-04-14 10:11:12 +02:00
parent 63b466c9ab
commit b24effaa95
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,35 @@
name: Build Docker Image
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
DISCORD_TOKEN: "0"
OPENAI_TOKEN: "0"
if: github.event_name != 'pull_request'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: |
ghcr.io/thelovinator1/anewdawn:latest