Skip to content

fix cache manager panic in yurthub (#1950) #14

fix cache manager panic in yurthub (#1950)

fix cache manager panic in yurthub (#1950) #14

Workflow file for this run

name: Sync Charts
on:
push:
branches:
- master
paths:
- 'charts/**'
jobs:
sync-charts:
if: github.repository == 'openyurtio/openyurt'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get the version
id: get_version
run: |
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
- name: Sync to openyurt-helm Repo
env:
SSH_DEPLOY_KEY: ${{ secrets.SYNC_CHARTS_SECRET }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
TAG: ${{ steps.get_version.outputs.TAG }}
COMMIT_ID: ${{ github.sha }}
run: |
bash ./hack/lib/sync-charts.sh