Giter Club home page Giter Club logo

helm-push-action's Introduction

Helm push action

This action package helm chart and publish it to your chartmuseum.

Usage

workflow.yml Example

Place in a .yml file such as this one in your .github/workflows folder. Refer to the documentation on workflow YAML syntax here.

name: Build & Push ecs-exporter chart
on: push

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: goodsmileduck/helm-push-action@v2
      env:
        SOURCE_DIR: '.'
        CHART_FOLDER: 'ecs-exporter'
        FORCE: 'True'
        SKIP_SECURE: 'False'
        CHARTMUSEUM_URL: 'https://chartmuseum.url'
        CHARTMUSEUM_USER: '${{ secrets.CHARTMUSEUM_USER }}'
        CHARTMUSEUM_PASSWORD: ${{ secrets.CHARTMUSEUM_PASSWORD }}

Configuration

The following settings must be passed as environment variables as shown in the example. Sensitive information, especially CHARTMUSEUM_USER and CHARTMUSEUM_PASSWORD, should be set as encrypted secrets — otherwise, they'll be public to anyone browsing your repository.

Key Value Suggested Type Required
CHARTMUSEUM_URL Chartmuseum url env Yes
CHARTMUSEUM_USER Username for chartmuseum secret Yes
CHARTMUSEUM_PASSWORD Password for chartmuseum secret Yes
SKIP_SECURE Allowing to push using insecure connection env No
SSL_CERTIFICATE_PATH Allowing to use custom SSL certificate env No
SSL_CERTIFICATE_CA_PATH Allowing to use custom SSL certificate bundle env No
SSL_CERTIFICATE_KEY_PATH Allowing to provide custom SSL key env No
DEBUG add --debug flag to ChartMuseum push command env No
FORCE Force chart upload (in case version exist in chartmuseum, upload will fail without FORCE). Defaults is False if not provided. env No
SOURCE_DIR The local directory you wish to upload. If your chart is in nested folder, SOURCE_DIR should be the path from root to the last folder before the one that stores the chart. For example, if your chart is in ./charts/app, the SOURCE_DIR is ./charts/. Defaults to the root of your repository (.) if not provided. env No
CHART_FOLDER Folder with charts in repo. This should be the name of the folder where the chart is in. For example, if your chart is in ./charts/app, the CHART_FOLDER is app env Yes

OBS.: Be aware that SOURCE_DIR+CHART_FOLDER should be the path of the directory where your Chart.yaml file is in.

Action versions

  • v2: helm v2.17.0
  • v3: helm3 v3.7.2

License

This project is distributed under the MIT license.

helm-push-action's People

Contributors

gasparpn avatar goodsmileduck avatar idrissneumann avatar jstewart612 avatar unixfox avatar yalattas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.