aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-11 21:21:36 +0800
committerclarkzjw <[email protected]>2018-01-11 21:57:35 +0800
commit7bbfd1ff9b84b32a5e22b40b9a8a1257aee9c6ef (patch)
tree36093187e9d749cb100430c0e976956616c495ca /.circleci
parent51772e868b787e6d3a9ffdc5a7462038f9b86eac (diff)
downloadblog.jinwei.me-7bbfd1ff9b84b32a5e22b40b9a8a1257aee9c6ef.tar.gz
+ test circleci
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml16
1 files changed, 16 insertions, 0 deletions
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 @@
1version: 2
2jobs:
3 build:
4 working_directory: /app
5 docker:
6 - image: docker:17.05.0-ce-git
7 steps:
8 - checkout
9 - setup_remote_docker:
10 reusable: true
11
12 - run:
13 name: Build Docker image
14 command: |
15 TAG="0.1.${CIRCLE_BUILD_NUM}"
16 docker build --build-arg GIT_TOKEN="${GIT_TOKEN}" -t clarkzjw/blog.jinwei.me:$TAG .
Powered by cgit v1.2.3 (git 2.41.0)