diff --git a/.env.example b/.env.example index ce413a9..eabb67b 100644 --- a/.env.example +++ b/.env.example @@ -93,6 +93,9 @@ LEGAL_PRIVACY_CONTENT= # Pfad im Container, z. B. /legal/impressum.md LEGAL_IMPRINT_CONTENT_FILE= LEGAL_PRIVACY_CONTENT_FILE= +# Eigener Link im Footer (nur https://) +LEGAL_CUSTOM_LINK_LABEL= +LEGAL_CUSTOM_LINK_URL= # ─── Bilder und Audio in Notizen ─────────────────────────────────────────────────────────────────── # Dateien liegen in data/media/ und sind nur für Personen sichtbar, die die Notiz lesen dürfen. Nicht mehr diff --git a/.gitea/scripts/build-plan.sh b/.gitea/scripts/build-plan.sh new file mode 100755 index 0000000..35030c9 --- /dev/null +++ b/.gitea/scripts/build-plan.sh @@ -0,0 +1,91 @@ +#!/usr/bin/env bash +# Decides per CI run: build with tests, build without tests, or only retag an existing image. +# Tests run once per code state: the images carry the git tree and commit as labels +# (io.mindsift.tree, org.opencontainers.image.revision), so no extra image tags are needed. +# dev -> build and test, tag :dev +# main -> build :latest; tests are skipped when :dev was built from the same tree +# v* -> retag :latest when it was built from this commit, else build (tests skipped when +# :dev or :latest has the same tree); :stable only for releases without "-" +# Inputs (environment): REF, COMMIT (default HEAD), IMAGE, PKG_VERSION (default from package.json), +# LABEL_CMD (prints a label of a remote image: LABEL_CMD