Skip to content

fix: auth resources and missing priority class (#771) #1793

fix: auth resources and missing priority class (#771)

fix: auth resources and missing priority class (#771) #1793

Workflow file for this run

name: publish-chart
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
jobs:
publish-chart:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: azure/[email protected]
- name: Publish chart and push images
env:
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
run: |
cd helm-chart/
python -m pip install --upgrade pip
pip install chartpress
git config --global user.email "[email protected]"
git config --global user.name "Renku Bot"
echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
export TAG=$(echo ${GITHUB_REF} | cut -d/ -f3)
helm dep update amalthea
helm dep update amalthea-sessions
helm lint amalthea
helm lint amalthea-sessions
cd ..
chartpress --tag $TAG
chartpress --tag $TAG --push --publish-chart
chartpress --tag latest --push