Skip to content

Helm package and push #2

Helm package and push

Helm package and push #2

Workflow file for this run

name: Helm package and push
on:
push:
branches:
- 'main'
- 'feature/helm-chart'
paths:
- 'helm/**'
workflow_dispatch:
jobs:
helm:
runs-on: ubuntu-latest
steps:
- name: Set environment variables
id: set-variables
run: |
echo "REPOSITORY=registry.docker.io/erikmagkekse/ziti-edge-proxy" >> "$GITHUB_OUTPUT"
echo "VERSION=$(yq -r .version ./helm/Chart.yaml)" >> "$GITHUB_OUTPUT"
- name: Package and push helm chart
run: |
helm package ./helm/ --version ${{ steps.set-variables.outputs.VERSION }}
helm push ./ziti-edge-proxy-${{ steps.set-variables.outputs.VERSION }}.tgz oci://${{ steps.set-variables.outputs.REPOSITORY }}/charts