Skip to content

Merge pull request #13 from eapolinario/monorepo--fix-boilerplate-ref… #15

Merge pull request #13 from eapolinario/monorepo--fix-boilerplate-ref…

Merge pull request #13 from eapolinario/monorepo--fix-boilerplate-ref… #15

Workflow file for this run

name: Package & Push Flyte Helm Charts
on:
push:
branches:
- master
- rc/*
workflow_dispatch:
jobs:
publish-development-helm-chart:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
chart: ["flyte-binary", "flyte-core"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Helm
uses: azure/setup-helm@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: "${{ secrets.FLYTE_BOT_USERNAME }}"
password: "${{ secrets.FLYTE_BOT_PAT }}"
- name: Publish Helm chart to GHCR
working-directory: charts
run: |
helm package \
--app-version=${{ github.sha }} \
--version=0.0-${{ github.sha }} \
${{ matrix.chart }}
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/${{ github.repository_owner }}/helm-charts