From f2c0c0e200600ca75cc75ca4643327e07c182495 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sat, 20 Apr 2019 00:31:39 +0200 Subject: [PATCH] Added CircleCI config file --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c37d495 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,30 @@ +version: 2 +jobs: + build: + docker: + - image: golang:1.12-alpine + steps: + - checkout + - name: Make compile + command: make compile + release: + docker: + - image: circleci/golang:1.12 + steps: + - checkout + - run: + name: goreleaser + command: curl -sL https://git.io/goreleaser | bash +workflows: + version: 2 + build_and_release: + jobs: + - build + - release: + requires: + - build + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*$/