KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
helm-oci-charts-releaser
★ 12
Open GitHub ↗
OCI charts releaser Action
Download README (.md)
Explore Similar Repositories
UPT-Flow
:
No description available.
MasterKernel
:
Kernel Cheat for Games that use Modern AntiCheat EAC, Vanguard, Battleye etc
tang_nano_9K_ov7670
:
OV7670 camera sensor demo project for Tang Nano 9K board
Preprocessing-of-stroke-MRI-data
:
用于对脑卒中的MRI数据进行预处理,包括颅骨剥离,配准,以及归一化。其中包括原理解释和代码说明
DragonStub
:
A generic standalone EFI stub for DragonOS kernel, which based on the Linux EFI stub.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
helm-oci-charts-releaser
?
Download (.md)
# _OCI charts releaser_ Action A GitHub action for single chart or multi-chart repositories that performs push and github releases creation for the hosted charts. ## Usage ### Pre-requisites 1. A GitHub repo containing a directory with your Helm charts (one of the following folders named `/charts`, `/chart` or `helm`, if you want to maintain your charts in a different directory, you must include a `charts_dir` input in the workflow). 1. Create a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#example-workflow) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file) ### Inputs - `version`: The helm version to use (default: v3.19.4) - `charts_dir`: The charts directory - **`oci_registry`**: The OCI registry host - **`oci_username`**: The username used to login to the OCI registry - **`oci_password`**: The OCI user's password - **`github-token`**: Github Actions token must be provided to manage release creation and update. - `tag_name_pattern`: Specifies GitHub repository release naming pattern (ex. '{chartName}-chart'). For instance you chart is named as app, but you want it to be released as *app-chart-x.y.z*, use *tag_name_pattern* `{chartName}-chart`. - `skip_helm_install`: Skip helm installation (default: false) - `skip_dependencies`: Skip dependencies update from "Chart.yaml" to dir "charts/" before packaging (default: false) - `skip_existing`: Skip the chart push if the GithHub release exists - `skip_oci_login`: Skip the OCI login step (rely on existing credentials) - `mark_as_latest`: When you set this to `false`, it will mark the created GitHub release not as 'latest'. - `skip_gh_release`: Skip the GitHub release creation ### Outputs - `released_charts`: A comma-separated list of charts that were released on this run. Will be an empty string if no updates were detected, will be unset if `--skip_packaging` is used: in the latter case your custom packaging step is responsible for setting its own outputs if you need them. - `chart_version`: The version of the most recently generated charts; will be set even if no charts have been updated since the last run. ### Example Workflow Create a workflow (eg: `.github/workflows/release.yml`): ```yaml name: Release Charts on: push: branches: - main jobs: release: runs-on: ubuntu-latest permissions: contents: write packages: write steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - name: Configure Git run: | git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Run chart-releaser uses: bitdeps/helm-oci-charts-releaser@v0.1.5 with: oci_registry: ghcr.io/username oci_username: username oci_password: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} ``` This uses under the hood uses Helm and gh cli (which is available to actions). Helm is used to login and push charts into an OCI registry, while gh cli is used to create and update the repository releases. It does this – during every push to `main` – by checking each chart in your project, and whenever there's a new chart version, creates a corresponding [GitHub release](https://help.github.com/en/github/administering-a-repository/about-releases) named for the chart version, adds Helm chart artifacts to the release, and pushes the chart into the given OCI registry.