aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)