Skip to content

Commit

Permalink
Improve circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Aug 23, 2019
1 parent b65cd30 commit 9f43785
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
keys:
- go-mod-cache-{{ checksum "go.sum" }}
- run: go get ./...
- run: GOARCH=amd64 GOOS=linux go build -o dist/linux_amd64/lbrytv main.go
- run: make snapshot
- run:
name: Build Docker image
command: make image
Expand All @@ -42,7 +42,10 @@ jobs:
keys:
- go-mod-cache-{{ checksum "go.sum" }}
- run: curl -sL https://git.io/goreleaser | bash
- run: make image
- run: make snapshot
- run:
name: Build Docker image
command: make image
publish-image:
docker:
- image: circleci/golang:1.12
Expand All @@ -66,8 +69,6 @@ workflows:
jobs:
- test
- publish-image:
requires:
- test
filters:
branches:
only: master
Expand Down

0 comments on commit 9f43785

Please sign in to comment.