Activate .gitea workflow

This commit is contained in:
2025-07-07 04:57:19 +02:00
parent 59edb2a41f
commit 2f6f74c82f
4 changed files with 4 additions and 12 deletions

View File

@ -1,11 +1,11 @@
name: Docker name: Docker
on: on:
# push: push:
# pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
# schedule: schedule:
# - cron: "0 6 * * *" - cron: "@weekly"
env: env:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
@ -16,15 +16,7 @@ env:
jobs: jobs:
build-and-push-docker: build-and-push-docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps: steps:
- run: |
if [ -z "${{ env.BOT_TOKEN }}" ]; then
echo "BOT_TOKEN not set"
exit 1
fi
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5 - uses: astral-sh/setup-uv@v5
with: with: