aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-11 22:12:58 +0800
committerclarkzjw <[email protected]>2018-01-11 22:12:58 +0800
commitd2eb9e5186102f3cb135b9b8a362912ed04f0cee (patch)
tree02b9c73d7311482340fef871e1e2594300a4eef8 /.circleci
parenta576ef4e42dc9fb22bd84c058d0a5aca27a59e57 (diff)
downloadblog.jinwei.me-d2eb9e5186102f3cb135b9b8a362912ed04f0cee.tar.gz
Thu Jan 11 22:12:58 CST 2018
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..1dc901f
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,19 @@
1version: 2
2jobs:
3 build:
4 branches:
5 only:
6 - master
7 working_directory: /app
8 docker:
9 - image: docker:17.05.0-ce-git
10 steps:
11 - checkout
12 - setup_remote_docker:
13 reusable: true
14
15 - run:
16 name: Build Docker image
17 command: |
18 TAG="0.1.${CIRCLE_BUILD_NUM}"
19 docker build --build-arg GIT_TOKEN="${GIT_TOKEN}" -t clarkzjw/blog.jinwei.me:$TAG .
Powered by cgit v1.2.3 (git 2.41.0)