Skip to content

Build and release Helm packages on s3 repositories using Github Actions.

License

Notifications You must be signed in to change notification settings

superblocksteam/helm-release-action

 
 

Repository files navigation

helm-release-action

Build and release Helm packages on s3 repositories using Github Actions.

Instructions on how to set up a S3 bucket as a helm chart repository: https://andrewlock.net/how-to-create-a-helm-chart-repository-using-amazon-s3/.

Examples

Using aws-actions/configure-aws-credentials@v1 action to configure S3 access:

name: Release
on: [push]
jobs:
  build:
    name: Chart release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Configure AWS Credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: eu-west-1
      - name: Helm release
        uses: shellbear/[email protected]
        with:
          repo: s3://s3-bucket-example/
          chart: ./deployment/helm

Parameters

Inputs

Required

  • repo: The S3 Helm repository bucket URL.

Optional

  • version: Override Helm chart version.
  • chart: Helm chart path. (default: ./)
  • forceRelease: If set to false and the chart already exists, exit normally and do not trigger an error. (default: true).
  • packageExtraArgs: Helm package command extra arguments.

Build with

  • helm-s3
  • helm-pack: used instead of helm package command to suport --value flag.

Author

About

Build and release Helm packages on s3 repositories using Github Actions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.4%
  • Dockerfile 10.6%