From da3d69d2d14a4893de7ba5d119dcbd93bf58ca0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Walther?= Date: Mon, 8 Dec 2025 19:44:03 +0100 Subject: [PATCH] Add daily Odoo Wiki build workflow --- .gitea/workflows/odoo-wiki-build.yaml | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .gitea/workflows/odoo-wiki-build.yaml diff --git a/.gitea/workflows/odoo-wiki-build.yaml b/.gitea/workflows/odoo-wiki-build.yaml new file mode 100644 index 0000000..f38538e --- /dev/null +++ b/.gitea/workflows/odoo-wiki-build.yaml @@ -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 \ No newline at end of file