Skip to content

Commit

Permalink
add tag to go image for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
smiklosovic committed May 3, 2022
1 parent 1b2606d commit 69487f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:

publish-github-release:
docker:
- image: cimg/go
- image: cimg/go:1.17
steps:
- attach_workspace:
at: ./artifacts
- run:
name: "Publish Release on GitHub"
command: |
set -xue
go get github.com/tcnksm/ghr
go install github.com/tcnksm/ghr@latest
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./artifacts/
workflows:
Expand Down

0 comments on commit 69487f0

Please sign in to comment.