Skip to content

build(deps): Bump azure/setup-helm from 3 to 4 (#6) #6

build(deps): Bump azure/setup-helm from 3 to 4 (#6)

build(deps): Bump azure/setup-helm from 3 to 4 (#6) #6

Workflow file for this run

name: Upload Chart
on:
workflow_dispatch:
push:
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.12.1
- uses: actions/setup-python@v5
with:
python-version: '3.10'
check-latest: true
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart release
run: |
touch .env
echo "HELM_CHARTS_REGISTRY_USERNAME=${{ secrets.HELM_CHARTS_REGISTRY_USERNAME }}" >> .env
echo "HELM_CHARTS_REGISTRY_PASSWORD=${{ secrets.HELM_CHARTS_REGISTRY_PASSWORD }}" >> .env
docker run \
-v "$PWD:/app/chart:rw" \
--env-file .env --entrypoint bash quay.io/andov_go/helm-packager:latest \
-c "make dependencies"
docker run \
-v "$PWD:/app/chart:rw" \
--env-file .env quay.io/andov_go/helm-packager:latest \
release
- name: Parse the Chart.yaml file
uses: jbutcher5/read-yaml@main
id: parse-chart-yaml
with:
file: ${{ github.workspace }}/Chart.yaml
key-path: '["version"]'
- name: Set the tag
id: set-tag-number
run: |
echo "Chart Version: ${{steps.parse-chart-yaml.outputs.data}}"
echo "version=${{steps.parse-chart-yaml.outputs.data}}" >> "$GITHUB_OUTPUT"