feat: add build date to template context

This commit is contained in:
relikd
2023-06-06 19:30:54 +02:00
parent 11086955be
commit ad9cd818d6
5 changed files with 26 additions and 3 deletions

View File

@@ -18,6 +18,6 @@ COPY --chmod=700 ./scripts /scripts
# finally copy app (likely will invalidate cache)
COPY . .
RUN (date +'%Y-%m-%d %R') > build_date.txt
RUN (date -u +'%Y-%m-%d %H:%M:%S') > build_date.txt
CMD ["on-deploy.sh"]