Skip to content

guo-codefresh/helm-sample-app

 
 

Repository files navigation

Codefresh Helm example

Helm plus Codefresh

This is an example Go application packaged with Docker and Helm. It is compiled using Codefresh.

Create a multi-stage docker image

To compile and package using Docker multi-stage builds

docker build . -t my-app

To run the docker image

docker run -p 8080:8080 my-app

And then visit http://localhost:8080 in your browser.

Editing the chart

The chart was created using Draft. Make sure to edit the templates and values with your own settings (e.g. docker image deployed).

To use this project in Codefresh

There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.

For the direct deployment without storing the helm chart first see codefresh-do-not-store.yml

More details can be found in Codefresh documentation

Releases

No releases published

Packages

No packages published

Languages

  • Mustache 48.4%
  • Go 30.1%
  • Dockerfile 21.5%