Add daily Odoo Wiki build workflow
Daily Wiki Build / build-and-push (push) Has been cancelled
Daily Odoo Wiki Build / build-and-push (push) Has been cancelled

This commit is contained in:
rewa81 committed 2025-12-08 19:44:03 +01:00
1 parent ea7582d6f3
commit da3d69d2d1
1 file changed
+38
+38
View File
@@ -0,0 +1,38 @@
name: Daily Odoo Wiki Build
on:
schedule:
# Montag bis Freitag um 18:00 Uhr
- cron: '0 18 * * 1-5'
# Erlaubt manuelles Starten des Workflows
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Deploy repository (with Dockerfile)
uses: actions/checkout@v4
- name: Checkout Odoo Wiki repository
uses: actions/checkout@v4
with:
repository: mint-systems/Odoo-Wiki
path: wiki-src
token: ${{ secrets.BUILDUSER_AUTHTOKEN }}
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: gitea.rwcloud.ch
username: build.user
password: ${{ secrets.BUILDUSER_AUTHTOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v6.15.0
with:
push: true
pull: true
context: .
dockerfile: Dockerfile
tags: gitea.rwcloud.ch/mint-systems/odoo-wiki:latest