Skip to content

release 0.57.2 (#3782) #138

release 0.57.2 (#3782)

release 0.57.2 (#3782) #138

name: Publish helm chart
on:
push:
tags: ["*"]
workflow_dispatch:
jobs:
publish-chart:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set version
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- uses: SwissDataScienceCenter/renku-actions/[email protected]
env:
CHART_DIR: helm-chart/
CHART_NAME: renku
GIT_USER: chart-bot
GIT_EMAIL: [email protected]
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
- uses: 8398a7/action-slack@v3
with:
status: custom
fields: job,ref
custom_payload: |
{
attachments: [{
color: '${{ job.status }}' === 'success' ? 'good' : '${{ job.status }}' === 'failure' ? 'danger' : 'warning',
text: `${process.env.AS_JOB} version ${{ steps.vars.outputs.tag }}: ${{ job.status }}.`,
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()
outputs:
chart-version: ${{ steps.vars.outputs.tag }}