Compare commits

..

3 Commits

Author SHA1 Message Date
ea9d7e0761 renovate.json hinzugefügt
All checks were successful
Build & Push Docker image / docker-build (push) Successful in 1m31s
2026-04-14 20:02:48 +00:00
3943edc4d2 .gitea/workflows/docker.yml aktualisiert
All checks were successful
Build & Push Docker image / docker-build (push) Successful in 1m48s
2026-04-06 11:11:06 +00:00
dd20fcd76d workflow angelegt 2026-04-06 11:09:58 +00:00
4 changed files with 56 additions and 5 deletions

View File

@@ -0,0 +1,48 @@
name: Build & Push Docker image
on:
push:
branches:
- master
schedule:
- cron: '0 15 1 * *' # Jeden 1. des Monats um 15:00 UTC
jobs:
docker-build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: master
fetch-depth: 0
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
- name: Login to registry
if: ${{ secrets.REGISTRY_USER != '' }}
uses: docker/login-action@v3
with:
registry: localregistry.nauheimtech.duckdns.org
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Extract variables
id: vars
run: |
echo "date_tag=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- name: Build and tag image
run: |
IMAGE_REPO="localregistry.nauheimtech.duckdns.org/send2ereader"
docker build --no-cache \
-t ${IMAGE_REPO}:${{ steps.vars.outputs.date_tag }} \
-t ${IMAGE_REPO}:latest \
.
- name: Push image to local registry
run: |
IMAGE_REPO="localregistry.nauheimtech.duckdns.org/send2ereader"
docker push ${IMAGE_REPO}:${{ steps.vars.outputs.date_tag }}
docker push ${IMAGE_REPO}:latest

8
package-lock.json generated
View File

@@ -13,7 +13,7 @@
"@koa/multer": "^3.0.2", "@koa/multer": "^3.0.2",
"@koa/router": "^13.1.0", "@koa/router": "^13.1.0",
"file-type": "^16.5.4", "file-type": "^16.5.4",
"koa": "^2.16.1", "koa": "^2.15.3",
"koa-logger": "^3.2.1", "koa-logger": "^3.2.1",
"koa-sendfile": "^3.0.0", "koa-sendfile": "^3.0.0",
"koa-static": "^5.0.0", "koa-static": "^5.0.0",
@@ -1419,9 +1419,9 @@
} }
}, },
"node_modules/koa": { "node_modules/koa": {
"version": "2.16.1", "version": "2.15.3",
"resolved": "https://registry.npmjs.org/koa/-/koa-2.16.1.tgz", "resolved": "https://registry.npmjs.org/koa/-/koa-2.15.3.tgz",
"integrity": "sha512-umfX9d3iuSxTQP4pnzLOz0HKnPg0FaUUIKcye2lOiz3KPu1Y3M3xlz76dISdFPQs37P9eJz1wUpcTS6KDPn9fA==", "integrity": "sha512-j/8tY9j5t+GVMLeioLaxweJiKUayFhlGqNTzf2ZGwL0ZCQijd2RLHK0SLW5Tsko8YyyqCZC2cojIb0/s62qTAg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"accepts": "^1.3.5", "accepts": "^1.3.5",

View File

@@ -13,7 +13,7 @@
"@koa/multer": "^3.0.2", "@koa/multer": "^3.0.2",
"@koa/router": "^13.1.0", "@koa/router": "^13.1.0",
"file-type": "^16.5.4", "file-type": "^16.5.4",
"koa": "^2.16.1", "koa": "^2.15.3",
"koa-logger": "^3.2.1", "koa-logger": "^3.2.1",
"koa-sendfile": "^3.0.0", "koa-sendfile": "^3.0.0",
"koa-static": "^5.0.0", "koa-static": "^5.0.0",

3
renovate.json Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}