Fixed CircleCI yaml config
This commit is contained in:
parent
f2c0c0e200
commit
23445b9bda
1 changed files with 18 additions and 18 deletions
|
@ -1,12 +1,12 @@
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: golang:1.12-alpine
|
- image: golang:1.12-alpine
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- name: Make compile
|
- name: Make compile
|
||||||
command: make compile
|
command: make compile
|
||||||
release:
|
release:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.12
|
- image: circleci/golang:1.12
|
||||||
|
@ -16,15 +16,15 @@ jobs:
|
||||||
name: goreleaser
|
name: goreleaser
|
||||||
command: curl -sL https://git.io/goreleaser | bash
|
command: curl -sL https://git.io/goreleaser | bash
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_release:
|
build_and_release:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
- release:
|
- release:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*$/
|
only: /^v.*$/
|
||||||
|
|
Loading…
Reference in a new issue