Skip to content

Instantly share code, notes, and snippets.

@rverchere
Last active April 4, 2022 20:38
Show Gist options
  • Save rverchere/99ebab2333ffe1a3d466f8e70203d1fd to your computer and use it in GitHub Desktop.
Save rverchere/99ebab2333ffe1a3d466f8e70203d1fd to your computer and use it in GitHub Desktop.
---
image: dtzar/helm-kubectl:3.5.3 #last version using k8s 1.20
.lint:
script:
- helm lint .
.release:
script:
- apk add git
- helm plugin install https://github.com/chartmuseum/helm-push
- helm repo add --username=${DOCKER_REGISTRY_USER} --password=$(cat "$DOCKER_REGISTRY_PASSWORD") ${HELM_PROJECT} https://${DOCKER_REGISTRY}/chartrepo/${HELM_PROJECT}
- helm package .
- helm cm-push . ${HELM_PROJECT}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment