Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
darrikonn committed Dec 7, 2019
1 parent 1183a10 commit d2515e0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ executors:
default: 'latest'
docker:
- image: circleci/golang:<<parameters.version>>
environment:
LATEST: true
GO111MODULE: on

references:
workspace: &workspace /go/src/github.com/spf13/cobra
workspace: &workspace
/go/src/github.com/darrikonn/cobra
lint: &lint
run:
name: 'Lint'
Expand Down Expand Up @@ -65,4 +69,7 @@ jobs:
version: '1.13'
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash
- run:
name: 'Create releases with GoReleaser'
command: |
docker run -e GITHUB_TOKEN=$GITHUB_TOKEN --rm --privileged -v $CIRCLE_WORKING_DIRECTORY:/go/src/github.com/darrikonn/cheat -v /var/run/docker.sock:/var/run/docker.sock -w /go/src/github.com/darrikonn/cheat darrikonn/goreleaser-xcgo goreleaser --rm-dist

0 comments on commit d2515e0

Please sign in to comment.