Skip to content

adds ssl to token-issuer (#34) #28

adds ssl to token-issuer (#34)

adds ssl to token-issuer (#34) #28

Workflow file for this run

name: ci
on:
push:
tags:
- "v*.*.*"
env:
ENV: production
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 'pypy3.9'
- run: |
cd ./parser
pip install -r requirements.txt
python3 parser.py
- name: helm login
run: |
echo ${{ secrets.GHCR_TOKEN }} | helm registry login ghcr.io -u $ --password-stdin
- name: helm lint
run: |
helm lint ./helm/ri-zgw
- name: helm package
run: |
VERSION=$(echo "$GITHUB_REF_NAME" | sed 's/v//')
helm package ./helm/ri-zgw --version $VERSION
- name: helm push
if: ${{ github.event_name == 'push' }}
run: |
REPO_NAME=$(echo 'print("${{ github.repository_owner }}".lower())' | python3 -)
CHART=$(ls | grep ri-zgw-*.tgz)
helm push $CHART oci://ghcr.io/$REPO_NAME