Skip to content

devth/helm-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

helm-docker

Docker Pulls Docker Image Version

Usage

This Docker image includes helm along with:

  • gcloud
  • kubectl
  • envsubst
  • jq
  • vals

And helm plugins:

  • viglesiasce/helm-gcs.git
  • databus23/helm-diff

Docker

Docker images are automatically built on Docker Hub:

  • Docker tags correspond to Helm release versions.
  • latest is always the latest fully released version (non-beta/RC).
  • master is always the latest commit on master.

Building

To test a local build:

docker build -t devth/helm .

Release procedure

Use the following to:

  • Bump VERSION in the Dockerfile
  • Commit and create tag matching the version

NB: the sed syntax works with MacOS built-in sed.

gh issue list
VERSION=v3.10.3
ISSUE=167
# use GNU sed
sed -i "3s/.*/ENV VERSION $VERSION/" Dockerfile
# ensure it looks good
git diff
git commit -am "Bump to $VERSION; fix #$ISSUE"
git tag $VERSION
git push && git push --tags

Close an issue without fixing it:

gh issue close 109

Optionally test building the image before pushing:

docker build .

Re-release

To re-build a particular tag we need to delete the git tag locally and remotely:

git push origin :$VERSION
git tag -d $VERSION

Then re-tag and push:

git tag $VERSION
git push --tags