Skip to content

fix: properly deal with saved storage secrets (#37) #23

fix: properly deal with saved storage secrets (#37)

fix: properly deal with saved storage secrets (#37) #23

Workflow file for this run

name: Publish chart
on:
push:
tags:
- "*.*.*"
workflow_dispatch:
jobs:
publish-chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- uses: azure/setup-helm@v3
with:
token: ${{secrets.GITHUB_TOKEN }}
- name: install dependencies
run: pip install chartpress
- name: Publish chart
env:
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Renku Bot"
export TAG=$(echo ${GITHUB_REF} |cut -d/ -f3)
helm dep update deploy/csi-rclone
chartpress --tag $TAG
helm lint deploy/csi-rclone
chartpress --tag $TAG --push --publish-chart