Compare commits

7 Commits
Author SHA1 Message Date
rudi ef5ec56c24 Merge pull request 'Workflow' (#19) from workflow into main
Reviewed-on: #19
2026-08-28 19:00:39 +00:00
Rudi 6a3488eb41 Some description 2026-08-28 21:00:04 +02:00
Rudi 48733ff07c added example docker-compose.yaml 2026-08-28 20:55:47 +02:00
Rudi fd8f8c5067 remove the workflow_dispatcher 2026-08-28 20:49:56 +02:00
Rudi 4e1183214f update of gitea release action
Docker Build & Push / build (push) Successful in 36s
Docker Build & Push / release (push) Successful in 13s
2026-08-28 20:48:32 +02:00
Rudi a55d48c48e Build and pull seperated
Docker Build & Push / build (push) Successful in 31s
Docker Build & Push / release (push) Failing after 11s
2026-08-28 20:40:48 +02:00
Rudi 7e989f1408 Change URL to global URL 2026-08-28 20:39:00 +02: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: