Compare commits
34
Commits
b1739d7504
...
workflow
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea86fd75ec | ||
|
|
650a11231a | ||
|
|
e543c60ed5 | ||
|
|
799cc9597c | ||
|
|
a6f1c0e967 | ||
|
|
26bb103535 | ||
|
|
756799feb6 | ||
|
|
2db0cc3ecb | ||
|
|
0a950cefe2 | ||
|
|
51c024edde | ||
|
|
af3b084ee9 | ||
|
|
bef5493dc1 | ||
|
|
6a3488eb41 | ||
|
|
48733ff07c | ||
|
|
fd8f8c5067 | ||
|
|
4e1183214f | ||
|
|
a55d48c48e | ||
|
|
7e989f1408 | ||
|
|
71fa841085 | ||
|
|
d10473eaca | ||
|
|
1350c2b638 | ||
|
|
824c515fc1 | ||
|
|
65fc741c06 | ||
|
|
15d6959468 | ||
|
|
ea0e8fb831 | ||
|
|
ea5e7d80a1 | ||
|
|
e12af3a0fa | ||
|
|
f2fa4d0062 | ||
|
|
9a925e43b7 | ||
|
|
cfc5c13f16 | ||
|
|
de0a9af376 | ||
|
|
3114b6d1e1 | ||
|
|
e82d3338ea | ||
|
|
09fee968b3 |
No files matched your search
@@ -1,31 +1,58 @@
|
|||||||
name: Docker Build & Push
|
name: Docker Build & Push
|
||||||
|
run-name: Release ${{ gitea.ref_name }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
releases: write
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Code auschecken
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Bei Gitea Container Registry anmelden
|
|
||||||
uses: docker/login-action@v2
|
|
||||||
with:
|
with:
|
||||||
registry: http://localhost:3000
|
fetch-depth: 0
|
||||||
username: ${{ gitea.actor }}
|
|
||||||
password: ${{ gitea.token }}
|
|
||||||
|
|
||||||
- name: Docker Image bauen und pushen
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.schamagusa.de
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
# 'toLower()' is not implemented
|
||||||
|
- name: Repository kleinschreiben
|
||||||
|
id: lowercase
|
||||||
|
env:
|
||||||
|
REPO: ${{ gitea.repository }}
|
||||||
|
run: |
|
||||||
|
echo "repo=$(printf '%s' "$REPO" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
env:
|
||||||
|
REPO: ${{ gitea.repository }}
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: localhost:3000/${{ gitea.repository }}:latest
|
tags: |
|
||||||
|
git.schamagusa.de/${{ steps.lowercase.outputs.repo }}:${{ gitea.ref_name }}
|
||||||
|
git.schamagusa.de/${{ steps.lowercase.outputs.repo }}:latest
|
||||||
|
|
||||||
|
- name: Prepare release notes
|
||||||
|
run: |
|
||||||
|
sed "s|{{VERSION}}|${{ gitea.ref_name }}|g" CHANGELOG.md > release_notes.md
|
||||||
|
cat release_notes.md
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
uses: https://gitea.com/actions/gitea-release-action@main
|
||||||
|
with:
|
||||||
|
body_path: release_notes.md
|
||||||
|
prerelease: ${{ contains(gitea.ref_name, '-rc') || contains(gitea.ref_name, '-beta') || contains(gitea.ref_name, '-alpha') }}
|
||||||
|
files: |
|
||||||
|
example.docker-compose.yaml
|
||||||
|
example.env
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
This version includes a new workflow file, so the Releases come faster and better to you
|
||||||
|
|
||||||
|
## New Features
|
||||||
|
- Workflow with better description and performance
|
||||||
|
|
||||||
|
|
||||||
|
## Bug fixes
|
||||||
|
- added 'toLower' function to workflow
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
> **Note:** This guide assumes that Docker and Docker Compose are already installed.
|
||||||
|
|
||||||
|
Download the `example.env` and the `example.docker-compose.yaml`, edit those and rename to `.env` and `docker-compose.yaml`.
|
||||||
|
|
||||||
|
Then run
|
||||||
|
```bash
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
@@ -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:
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
# Einvironment Variablen
|
||||||
|
|
||||||
|
API_KEY=
|
||||||
|
|
||||||
|
|
||||||
|
TANDOOR_URL =
|
||||||
|
|
||||||
|
SECRET_KEY =
|
||||||
|
#ALGORITHM = "HS256"
|
||||||
|
#ACCESS_TOKEN_EXPIRE_MINUTES = 30
|
||||||
+25
-58
@@ -1,59 +1,26 @@
|
|||||||
a2wsgi==1.10.10
|
annotated-doc==0.0.5
|
||||||
argon2_cffi_bindings==25.1.0
|
annotated-types==0.8.0
|
||||||
argon2pure==1.3
|
anyio==4.14.2
|
||||||
bcryptor==1.2.2
|
argon2-cffi==25.1.0
|
||||||
boto3==1.43.82
|
argon2-cffi-bindings==26.1.0
|
||||||
brotli==1.2.0
|
|
||||||
brotlicffi==1.2.0.2
|
|
||||||
cffi==2.1.1
|
cffi==2.1.1
|
||||||
chardet==7.6.0
|
click==8.5.0
|
||||||
colorama==0.4.6
|
cryptography==50.0.1
|
||||||
ConfigParser==7.2.0
|
fastapi==0.141.1
|
||||||
cx_Oracle==8.3.0
|
greenlet==3.5.5
|
||||||
cython==3.3.0
|
h11==0.16.0
|
||||||
docutils==0.23
|
idna==3.19
|
||||||
email_validator==2.3.0
|
Jinja2==3.1.6
|
||||||
eval_type_backport==0.4.0
|
MarkupSafe==3.0.3
|
||||||
exceptiongroup==1.3.1
|
pwdlib==0.3.1
|
||||||
fastapi_cli==0.0.32
|
pycparser==3.0
|
||||||
fastpbkdf2==0.2
|
pydantic==2.13.5
|
||||||
filelock==3.32.4
|
pydantic-settings==2.15.0
|
||||||
gunicorn==26.2.0
|
pydantic_core==2.46.5
|
||||||
h2==4.4.1
|
PyJWT==2.13.0
|
||||||
HTMLParser==0.0.2
|
python-dotenv==1.2.3
|
||||||
httptools==0.8.0
|
SQLAlchemy==2.0.52
|
||||||
httpx2==2.12.0
|
starlette==1.6.0
|
||||||
hypothesis==6.165.10
|
typing-inspection==0.4.4
|
||||||
importlib_metadata==9.0.0
|
typing_extensions==4.16.0
|
||||||
ipython==9.16.1
|
uvicorn==0.52.4
|
||||||
ipywidgets==8.1.9
|
|
||||||
itsdangerous==2.2.0
|
|
||||||
jnius==1.1.0
|
|
||||||
js==1.0
|
|
||||||
keyring==25.7.0
|
|
||||||
nose==1.3.7
|
|
||||||
objgraph==3.6.2
|
|
||||||
outcome==1.3.0.post0
|
|
||||||
protobuf==7.36.0
|
|
||||||
psutil==7.2.2
|
|
||||||
pydantic_extra_types==2.11.1
|
|
||||||
pyodide==0.0.2
|
|
||||||
pyOpenSSL==26.4.0
|
|
||||||
pysqlcipher3==1.2.0
|
|
||||||
pytest==9.1.1
|
|
||||||
redis==8.1.0
|
|
||||||
setuptools==84.0.0
|
|
||||||
simplejson==4.1.2
|
|
||||||
sniffio==1.3.1
|
|
||||||
socksio==1.0.0
|
|
||||||
Sphinx==9.1.0
|
|
||||||
sqlcipher3==0.6.2
|
|
||||||
thread==2.0.6
|
|
||||||
types_boto3_secretsmanager==1.43.0
|
|
||||||
unittest2==1.1.0
|
|
||||||
watchfiles==1.2.0
|
|
||||||
winloop==0.6.3
|
|
||||||
wsproto==1.3.2
|
|
||||||
xmlrpclib==1.0.1
|
|
||||||
zstandard==0.25.0
|
|
||||||
zttp==0.0.28
|
|
||||||
Reference in new issue
Block a user