renamed docker vars from programm to dadi-staging

main
Andre Challier 2025-12-11 11:43:58 +01:00
parent ebafae2adf
commit c94de6d9ca
2 changed files with 5 additions and 8 deletions

View File

@ -11,11 +11,8 @@ RUN apk --no-cache add git openssh-client bash nano gettext
ARG WEBHOOK_SECRET
ENV WEBHOOK_SECRET=${WEBHOOK_SECRET}
ARG GIT_SERVER_ASSETS
ENV GIT_SERVER_ASSETS=${GIT_SERVER_ASSETS}
ARG GIT_SERVER_PROGRAMM
ENV GIT_SERVER_PROGRAMM=${GIT_SERVER_PROGRAMM}
ARG GIT_SERVER_DATI_STAGING
ENV GIT_SERVER_DADI_STAGING=${GIT_SERVER_DADI_STAGING}
# copy binaries and scripts
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
@ -25,10 +22,10 @@ COPY hooks.json.tmpl /etc/webhook/hooks.json.tmpl
COPY entrypoint.sh /etc/webhook/entrypoint.sh
RUN chmod +x /etc/webhook/entrypoint.sh
COPY programm-hook.sh /etc/webhook/dadi-staging-hook.sh
COPY dadi-staging-hook.sh /etc/webhook/dadi-staging-hook.sh
RUN chmod +x /etc/webhook/dadi-staging-hook.sh
COPY programm-init.sh /etc/webhook/dadi-staging-init.sh
COPY dadi-staging-init.sh /etc/webhook/dadi-staging-init.sh
RUN chmod +x /etc/webhook/dadi-staging-init.sh
COPY generate_index_html.sh /etc/webhook/generate_index_html.sh

View File

@ -11,7 +11,7 @@ BRANCHES_FOLDER="/html/branches"
DADI_STAGING_REPOSITORY="git_dadi_staging:AG-IT/KlDaDiSeite.git"
#
# Remove all branch folders but assets
# Remove all branch folders
#
for dir in "$BRANCHES_FOLDER"/*/; do