setup automated build and push action for doxygen build container.
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 25s

Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2026-01-09 11:27:57 +01:00
parent af51242f9c
commit 1de4c574fe
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
name: Build and Publish Docker Image
on:
push:
branches:
- main
schedule:
# after the base image
- cron: '5 3 * * *'
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest-intranet
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: gitea.psi.ch
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: gitea.psi.ch/${{ github.repository }}:latest