Coder Social home page Coder Social logo

helm-oci-chart-releaser's Introduction

๐Ÿ’ฅ Helm OCI Chart Releaser ๐Ÿ’ฅ

๐Ÿš€ Push Helm Charts to OCI-based (Docker) registries! ๐Ÿš€

๐Ÿ’ก Store Helm Charts with your Docker images. No more need to host Helm repositories โ™ฟ

๐Ÿ“ More info about secure OCI-based hosting https://helm.sh/docs/topics/registries/

Usage

  • Push Helm Chart to Github Container Registry
- name: Chart | Push
  uses: appany/[email protected]
  with:
    name: my-chart
    repository: appany
    tag: 0.1.0
    path: charts/my-chart # Default charts/{name}
    registry: ghcr.io
    registry_username: ${{ secrets.REGISTRY_USERNAME }}
    registry_password: ${{ secrets.REGISTRY_PASSWORD }}

# helm chart pull ghcr.io/appany/my-chart:0.1.0
# helm chart export ghcr.io/appany/my-chart:0.1.0
  • Push Helm Chart to Azure Container Registry
- name: Chart | Push
  uses: appany/[email protected]
  with:
    name: my-chart
    repository: helm
    tag: 0.1.0
    path: charts/my-chart # Default charts/{name}
    registry: appany.azurecr.io
    registry_username: ${{ secrets.REGISTRY_USERNAME }}
    registry_password: ${{ secrets.REGISTRY_PASSWORD }}

# helm chart pull appany.azurecr.io/helm/my-chart:0.1.0
# helm chart export appany.azurecr.io/helm/my-chart:0.1.0

Inputs

inputs:
  name:
    required: true
    description: Chart name
  repository:
    required: true
    description: Chart repository name
  tag:
    required: true
    description: Chart version
  path:
    required: false
    description: Chart path (Default 'charts/{name}')
  registry:
    required: true
    description: OCI registry
  registry_username:
    required: true
    description: OCI registry username
  registry_password:
    required: true
    description: OCI registry password

Outputs

outputs:
  image:
    value: ${{ steps.output.outputs.image }}
    description: Chart image (Default '{registry}/{repository}/{image}:{tag}')

ArgoCD

  1. Add container registry and enable OCI support
repositories: |
  - url: ghcr.io
    type: helm
    name: appany
    enableOCI: true

repository.credentials: |
  - url: ghcr.io
    passwordSecret: ...
    usernameSecret: ...
  1. Create an Application
apiVersion: argoproj.io/v1alpha1
kind: Application
...
spec:
  source:
    repoURL: ghcr.io
    targetRevision: 0.1.0
    chart: appany/my-chart
    helm:
      ...

License

This project is distributed under the MIT license.

helm-oci-chart-releaser's People

Contributors

sergeyshaykhullin avatar appany-it avatar

Watchers

James Cloos avatar  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.