update flow

This commit is contained in:
2025-09-22 10:07:39 -04:00
parent a74feeb67e
commit 95273be0b0
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ ARG GIT_BRANCH=main
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONIOENCODING=utf-8 \
GIT_BRANCH=${GIT_BRANCH}
GIT_BRANCH=${GIT_BRANCH} \
GITEA_BUILD=true
# Install system dependencies including PostgreSQL client libraries
RUN apt-get update && apt-get install -y \
+5
View File
@@ -1397,6 +1397,11 @@ except Exception:
# If git detection fails, that's fine - use base version
pass
# Check for Gitea build environment variable
if os.environ.get("GITEA_BUILD") == "true":
if "-" not in version: # Don't double-add suffixes
version = f"{version}-gitea"
app = FastAPI(
title="NFOGuard",
description="Webhook server for preserving media import dates",