Workflow #19

Merged
rudi merged 6 commits from workflow into main 2026-08-28 19:00:40 +00:00
2 changed files with 37 additions and 4 deletions

No files matched your search

+23 -4
View File
@@ -1,6 +1,5 @@
name: Docker Build & Push name: Docker Build & Push
on: on:
workflow_dispatch:
push: push:
tags: tags:
- 'v*' - 'v*'
@@ -19,15 +18,20 @@ jobs:
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ secrets.token }} password: ${{ secrets.token }}
- name: Docker Image bauen und pushen - name: Docker Image bauen (nur lokal im Runner)
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
push: true push: false
tags: | tags: |
127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }} 127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
127.0.0.1:3000/rudi/tandur:latest 127.0.0.1:3000/rudi/tandur:latest
- name: Images zu Gitea pushen
run: |
docker push 127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
docker push 127.0.0.1:3000/rudi/tandur:latest
release: release:
if: startsWith(gitea.ref, 'refs/tags/v') if: startsWith(gitea.ref, 'refs/tags/v')
needs: build needs: build
@@ -39,6 +43,21 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Gitea Release erstellen - name: Gitea Release erstellen
uses: https://gitea.com/actions/release-action@main uses: https://gitea.com/actions/gitea-release-action@main
with: with:
api_key: '${{ secrets.TOKEN }}' api_key: '${{ secrets.TOKEN }}'
files: |-
docker-compose.yaml
body: |
## Docker Image:
```
docker pull git.schamagusa.de/rudi/tandur:latest
```
## Docker Compose
Download the `docker-compose.yaml`
and then
```
docker compose pull
docker compose up -d
```
+14
View File
@@ -0,0 +1,14 @@
services:
tandur:
image: git.schamagusa.de/rudi/tandur:latest
container_name: tandur
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- tandur-data:/app/data
#environment:
# - TZ=Europe/Berlin
volumes:
tandur-data: