Files
mint-deploy/.gitea/workflows/odoo-wiki-build.yaml
T
rewa81 da3d69d2d1
Daily Wiki Build / build-and-push (push) Has been cancelled
Daily Odoo Wiki Build / build-and-push (push) Has been cancelled
Add daily Odoo Wiki build workflow
2025-12-08 19:44:03 +01:00

38 lines
1016 B
YAML

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