Compare commits

..

2 Commits

Author SHA1 Message Date
c65c2c0834 builder 2024-12-07 02:06:33 +01:00
c58c18837a set url 2024-12-07 02:06:26 +01:00
5 changed files with 58 additions and 0 deletions

16
builder/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM python:3.13-slim-bookworm
RUN \
apt update && \
apt install -y --no-install-recommends \
ca-certificates \
git \
libcairo2 && \
pip install \
mkdocs \
mkdocs-material \
mkdocs-material[imaging]
COPY build.sh /build.sh
ENTRYPOINT [ "/build.sh" ]

9
builder/build.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -e
git clone "${REPO:-'https://git.tek.govt.hu/dowerx/www.git'}" /src
cd /src
mkdocs build --site-dir "${SITE_DIR:-'/site'}"

30
builder/build.yml Normal file
View File

@ -0,0 +1,30 @@
registries:
- registry.tek.govt.hu
repos:
- name: www
library: dowerx
path: .
tags:
- name: latest
tags:
- amd64
- arm64
- armv7
- name: "${DATE}"
tags:
- "${DATE}-amd64"
- "${DATE}-arm64"
- "${DATE}-armv7"
builds:
- arch: amd64
tags:
- amd64
- "${DATE}-amd64"
- arch: arm64
tags:
- arm64
- "${DATE}-arm64"
- arch: armv7
tags:
- armv7
- "${DATE}-armv7"

View File

@ -1 +1,3 @@
# Documentation and blog about things I do
Feel free to explore.

View File

@ -1,4 +1,5 @@
site_name: www.tek.govt.hu
site_url: https://www.tek.govt.hu
nav:
- Home: index.md
- Projects: /projects