From 7341d73fee0f6f59e1990716f951e21cead285a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Meezaan-ud-Din=20Abdu=20Dhil-Jalali=20Wal-Ikram=20/=20?= =?UTF-8?q?=D9=85=D9=90=D9=8A=D8=B2=D9=8E=D8=A7=D9=86=D9=8F=20=D8=A7=D9=84?= =?UTF-8?q?=D9=92=D8=AF=D9=91=D9=90=D9=8A=D9=86=D9=92=20=D8=B9=D9=8E=D8=A8?= =?UTF-8?q?=D9=92=D8=AF=D9=8F=20=D8=B0=D9=90=D9=8A=D9=92=20=D8=A7=D9=84?= =?UTF-8?q?=D9=92=D8=AC=D9=8E=D9=84=D9=8E=D8=A7=D9=84=D9=90=20=D9=88=D9=8E?= =?UTF-8?q?=20=D8=A7=D9=84=D9=92=D8=A5=D9=90=D9=83=D9=92=D8=B1=D9=8E=D8=A7?= =?UTF-8?q?=D9=85=D9=90?= Date: Sun, 20 Jan 2019 22:17:07 +0000 Subject: [PATCH] Added version info --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5456c7e..a881f1e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,6 +42,14 @@ jobs: steps: - checkout - setup_remote_docker + - run: + name: Add Version information + command: | + echo "commit: ${CIRCLE_SHA1}" > html/VERSION + echo "tag: ${CIRCLE_TAG}" >> html/VERSION + echo "branch: ${CIRCLE_BRANCH}" >> html/VERSION + echo "ci_build: ${CIRCLE_BUILD_NUM}" >> html/VERSION + echo "ci_workflow: ${CIRCLE_WORKFLOW_ID}" >> html/VERSION - run: name: Build Production Docker image command: docker build -t $IMAGE_NAME:latest .