diff options
author | Andrew Dolgov <[email protected]> | 2023-04-10 17:49:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-10 17:49:42 +0300 |
commit | 566d164053ee3bbc986d0136917dca1a978c2637 (patch) | |
tree | 55595217a010115fbb7abf6346d28694d17d82c5 /.docker | |
parent | 06aabdf60b61fc357c4e60d541e2247f678a96bf (diff) |
add CI_COMMIT_TIMESTAMP to version-static file
Diffstat (limited to '.docker')
-rw-r--r-- | .docker/app/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.docker/app/Dockerfile b/.docker/app/Dockerfile index 8b29bbbc9..0995e81d0 100644 --- a/.docker/app/Dockerfile +++ b/.docker/app/Dockerfile @@ -7,6 +7,7 @@ ENV SRC_DIR=/src/tt-rss/ ARG BUILD_TIMESTAMP ARG CI_COMMIT_BRANCH ARG CI_COMMIT_SHORT_SHA +ARG CI_COMMIT_TIMESTAMP RUN apk add --no-cache dcron php81 php81-fpm php81-phar php81-sockets \ php81-pdo php81-gd php81-pgsql php81-pdo_pgsql php81-xmlwriter \ @@ -33,7 +34,7 @@ ADD config.docker.php ${SCRIPT_ROOT} COPY --from=app-src . ${SRC_DIR} -RUN [ ! -z ${BUILD_TIMESTAMP} ] && echo ${BUILD_TIMESTAMP}-${CI_COMMIT_BRANCH}-${CI_COMMIT_SHORT_SHA} | tee ${SRC_DIR}/version_static.txt +RUN [ ! -z ${BUILD_TIMESTAMP} ] && echo ${BUILD_TIMESTAMP}-${CI_COMMIT_BRANCH}-${CI_COMMIT_SHORT_SHA} ${CI_COMMIT_TIMESTAMP} | tee ${SRC_DIR}/version-static-official.txt ARG ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git |