File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,6 +248,17 @@ jobs:
248248 push : true
249249 tags : ghcr.io/ietf-tools/datatracker:${{ env.PKG_VERSION }}
250250
251+ - name : Package and Push Chart
252+ env :
253+ VERSION : 2.0.${{ github.run_number }}
254+ run : |
255+ echo "Setting version ${{ env.PKG_VERSION }}..."
256+ sed -i -r -e "s|^version: .*$|version: '${{ env.PKG_VERSION }}'|" -e "s|^appVersion: .*$|appVersion: '${{ env.PKG_VERSION }}'|" helm/Chart.yaml
257+ helm plugin install https://github.com/chartmuseum/helm-push.git
258+ helm repo add chartmuseum https://charts.ietf.org
259+ helm cm-push --version="${{ env.PKG_VERSION }}" --username="${{ secrets.HELM_REPO_USERNAME }}" --password="${{ secrets.HELM_REPO_PASSWORD }}" helm/ chartmuseum
260+ helm repo remove chartmuseum
261+
251262 - name : Update CHANGELOG
252263 id : changelog
253264 uses : Requarks/changelog-action@v1
You can’t perform that action at this time.
0 commit comments