Compare commits
7
Commits
71fa841085
...
ef5ec56c24
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef5ec56c24 | ||
|
|
6a3488eb41 | ||
|
|
48733ff07c | ||
|
|
fd8f8c5067 | ||
|
|
4e1183214f | ||
|
|
a55d48c48e | ||
|
|
7e989f1408 |
No files matched your search
@@ -1,6 +1,5 @@
|
||||
name: Docker Build & Push
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
@@ -19,15 +18,20 @@ jobs:
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.token }}
|
||||
|
||||
- name: Docker Image bauen und pushen
|
||||
- name: Docker Image bauen (nur lokal im Runner)
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
push: false
|
||||
tags: |
|
||||
127.0.0.1:3000/rudi/tandur:${{ gitea.ref_name }}
|
||||
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:
|
||||
if: startsWith(gitea.ref, 'refs/tags/v')
|
||||
needs: build
|
||||
@@ -39,6 +43,21 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Gitea Release erstellen
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
uses: https://gitea.com/actions/gitea-release-action@main
|
||||
with:
|
||||
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
|
||||
```
|
||||
@@ -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:
|
||||
Reference in new issue
Block a user