chore: fix circleci release config (#52)

This commit is contained in:
Mohammed Al Sahaf
2020-09-18 07:02:51 +01:00
committed by GitHub
parent 6c5420aa5a
commit 34f2336d91
+7 -3
View File
@@ -13,15 +13,19 @@ jobs:
- checkout - checkout
- run: go build main.go - run: go build main.go
release: release:
machine: true executor:
name: go/default
tag: '1.15'
steps: steps:
- checkout - checkout
- go/install - go/load-cache
- go/mod-download
- go/save-cache
- run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- run: curl -sL https://git.io/goreleaser | bash - run: curl -sL https://git.io/goreleaser | bash
- run: docker logout - run: docker logout
orbs: orbs:
go: circleci/[email protected]4 go: circleci/go@1.3.1
workflows: workflows:
version: 2 version: 2
build-workflow: build-workflow: