From 7bbfd1ff9b84b32a5e22b40b9a8a1257aee9c6ef Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 11 Jan 2018 21:21:36 +0800 Subject: + test circleci --- .circleci/config.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6f5e061 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,16 @@ +version: 2 +jobs: + build: + working_directory: /app + docker: + - image: docker:17.05.0-ce-git + steps: + - checkout + - setup_remote_docker: + reusable: true + + - run: + name: Build Docker image + command: | + TAG="0.1.${CIRCLE_BUILD_NUM}" + docker build --build-arg GIT_TOKEN="${GIT_TOKEN}" -t clarkzjw/blog.jinwei.me:$TAG . -- cgit v1.2.3