Skip to content

⚡ update: cilium 1.16.2 hubble add tolerations #60

⚡ update: cilium 1.16.2 hubble add tolerations

⚡ update: cilium 1.16.2 hubble add tolerations #60

Workflow file for this run

name: Push Chart to vCR
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Log in to the GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/[email protected]
- name: login to acr using helm
run: |
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io/${{ github.repository_owner }} --username ${{ github.repository_owner }} --password-stdin
echo ${{ secrets.VCR_PASSWORD }} | helm registry login vcr.vngcloud.vn --username ${{ secrets.VCR_USER }} --password-stdin
- name: Run chart-releaser
id: run_tests
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Push charts
env:
CHANGED_CHARTS: ${{ steps.run_tests.outputs.changed_charts }}
CHART_VERSION: ${{ steps.run_tests.outputs.chart_version }}
run: |
echo "$CHANGED_CHARTS"
echo "$CHART_VERSION"
echo ${{ github.workspace }}
cd ${{ github.workspace }} && ./push_tgz.sh oci://ghcr.io/${{ github.repository_owner }}/vks-helm-charts $CHANGED_CHARTS
cd ${{ github.workspace }} && ./push_tgz.sh oci://${{ secrets.VCR_REPO }}/vks-helm-charts $CHANGED_CHARTS