Bump Helm Chart Version => v0.81.1 (#650) #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package Helm Chart | |
on: | |
# Only push Helm Chart if the deployment templates have changed | |
push: | |
branches: | |
- main | |
paths: | |
- deployment/chainloop/** | |
permissions: | |
contents: read | |
jobs: | |
package: | |
name: Package and push Helm Chart | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- name: Docker login to Github Packages | |
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Helm | |
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Package Chart | |
run: helm package deployment/chainloop/ | |
- name: Push Chart | |
run: | | |
for pkg in chainloop*.tgz; do | |
helm push ${pkg} oci://ghcr.io/chainloop-dev/charts | |
done |