1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-14 07:49:52 +02:00

abort build if actual commit id differs from requested for image

This commit is contained in:
Andrew Dolgov 2022-03-23 15:45:06 +03:00
parent 4a7b2aed70
commit d419fd0c03
2 changed files with 13 additions and 1 deletions

View file

@ -28,9 +28,11 @@ ADD build-prepare.sh ${SCRIPT_ROOT}
ARG ORIGIN_REPO_MAIN=https://git.tt-rss.org/fox/tt-rss.git
ARG ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git
ARG ORIGIN_COMMIT=
ENV ORIGIN_REPO_MAIN=${ORIGIN_REPO_MAIN}
ENV ORIGIN_REPO_XACCEL=${ORIGIN_REPO_XACCEL}
ENV ORIGIN_COMMIT=${ORIGIN_COMMIT}
RUN sh -c ${SCRIPT_ROOT}/build-prepare.sh