Compare commits
40
Commits
3114b6d1e1
...
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 | ||
|
|
e82d3338ea | ||
|
|
b1739d7504 | ||
|
|
c9c77945f6 | ||
|
|
ff43d4a688 | ||
|
|
a9a04e099f | ||
|
|
e9d399b10c | ||
|
|
28d9c471a5 | ||
|
|
ad678df2ce | ||
|
|
ca6c31b91d |
No files matched your search
@@ -1,28 +1,58 @@
|
||||
name: Docker Build & Push
|
||||
run-name: Release ${{ gitea.ref_name }}
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
releases: write
|
||||
packages: write
|
||||
steps:
|
||||
- name: Code auschecken
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Bei Gitea Container Registry anmelden
|
||||
uses: docker/login-action@v2
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
registry: http://localhost:3000
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.token }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Docker Image bauen und pushen
|
||||
uses: docker/build-push-action@v4
|
||||
- name: Log in to Gitea Container Registry
|
||||
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:
|
||||
context: .
|
||||
push: true
|
||||
tags: localhost:3000/rudi/tandur: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
|
||||
argon2_cffi_bindings==25.1.0
|
||||
argon2pure==1.3
|
||||
bcryptor==1.2.2
|
||||
boto3==1.43.82
|
||||
brotli==1.2.0
|
||||
brotlicffi==1.2.0.2
|
||||
annotated-doc==0.0.5
|
||||
annotated-types==0.8.0
|
||||
anyio==4.14.2
|
||||
argon2-cffi==25.1.0
|
||||
argon2-cffi-bindings==26.1.0
|
||||
cffi==2.1.1
|
||||
chardet==7.6.0
|
||||
colorama==0.4.6
|
||||
ConfigParser==7.2.0
|
||||
cx_Oracle==8.3.0
|
||||
cython==3.3.0
|
||||
docutils==0.23
|
||||
email_validator==2.3.0
|
||||
eval_type_backport==0.4.0
|
||||
exceptiongroup==1.3.1
|
||||
fastapi_cli==0.0.32
|
||||
fastpbkdf2==0.2
|
||||
filelock==3.32.4
|
||||
gunicorn==26.2.0
|
||||
h2==4.4.1
|
||||
HTMLParser==0.0.2
|
||||
httptools==0.8.0
|
||||
httpx2==2.12.0
|
||||
hypothesis==6.165.10
|
||||
importlib_metadata==9.0.0
|
||||
ipython==9.16.1
|
||||
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
|
||||
click==8.5.0
|
||||
cryptography==50.0.1
|
||||
fastapi==0.141.1
|
||||
greenlet==3.5.5
|
||||
h11==0.16.0
|
||||
idna==3.19
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.3
|
||||
pwdlib==0.3.1
|
||||
pycparser==3.0
|
||||
pydantic==2.13.5
|
||||
pydantic-settings==2.15.0
|
||||
pydantic_core==2.46.5
|
||||
PyJWT==2.13.0
|
||||
python-dotenv==1.2.3
|
||||
SQLAlchemy==2.0.52
|
||||
starlette==1.6.0
|
||||
typing-inspection==0.4.4
|
||||
typing_extensions==4.16.0
|
||||
uvicorn==0.52.4
|
||||
Reference in new issue
Block a user