Files
mint-deploy/.gitea/workflows/wiki-build.yaml
T

36 lines
977 B
YAML

name: Daily 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 Wiki repository
uses: actions/checkout@v4
with:
repository: mint-systems/Wiki
path: wiki-src
# Falls das Repo privat ist, wird hier ein Token benötigt:
# token: ${{ secrets.REPO_ACCESS_TOKEN }}
- 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/mint-wiki:latest