https://github.com/codefresh-contrib/goreleaser-sample-app
Using goreleaser in a Codefresh pipeline
https://github.com/codefresh-contrib/goreleaser-sample-app
Last synced: 5 months ago
JSON representation
Using goreleaser in a Codefresh pipeline
- Host: GitHub
- URL: https://github.com/codefresh-contrib/goreleaser-sample-app
- Owner: codefresh-contrib
- Created: 2019-05-30T14:28:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T12:20:55.000Z (about 7 years ago)
- Last Synced: 2024-06-20T03:54:24.196Z (almost 2 years ago)
- Language: Go
- Homepage: https://codefresh.io/docs/docs/learn-by-example/golang/goreleaser/
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using Goreleaser inside Docker with Codefresh
[Goreleaser](https://github.com/goreleaser/goreleaser) is a help utility that easily allows to create
* Binary packages for each OS/arch
* Archives
* Github releases
* Docker images
* Snap/RPM/deb/Homebrew
for Go applications.
There is already a [Docker image for Goreleaser](https://hub.docker.com/r/goreleaser/goreleaser/) so it is very easy to use it in Codefresh pipeline.
## Prerequisites
1. Create a [free Codefresh account](https://codefresh.io/docs/docs/getting-started/create-a-codefresh-account/)
1. Fork this project in your Github account
## Create Codefresh pipeline
To use Goreleaser with Codefresh
1. Create a new pipeline
1. Add the [pipeline content](codefresh.yml)
1. Edit the pipeline with your own github integration (instead of `github-1`)
Make sure that you set the [trigger](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/triggers/) to happen only for git tags.
That's it! Run the pipeline to see it in action.
Enjoy!