Skip to content

Helm package

Helm package #4

Workflow file for this run

name: Helm package
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Helm
uses: azure/setup-helm@v3
- name: Build chart
run: |
cd charts/horizon-issuer
helm dependencies build
helm package .
- name: Upload to Sonatype repo
env:
NEXUS_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: |
PACKAGE="$(find charts/horizon-issuer -type f -name 'horizon-issuer-*.tgz' -maxdepth 1 | head -n 1)"
curl -F file=@$PACKAGE --user "$NEXUS_USERNAME:$NEXUS_PASSWORD" --fail https://repo.evertrust.io/service/rest/v1/components?repository=charts