From 61849c2768b3898826c69a7e4d093a8a75317252 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Sat, 16 Sep 2023 18:45:55 -0700 Subject: [PATCH] Login to GitHub registry on push Signed-off-by: Kevin Su --- .github/workflows/helm-charts.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/helm-charts.yaml b/.github/workflows/helm-charts.yaml index fa0b791630..016280b533 100644 --- a/.github/workflows/helm-charts.yaml +++ b/.github/workflows/helm-charts.yaml @@ -21,6 +21,7 @@ jobs: - name: Install Helm uses: azure/setup-helm@v3 - name: Login to GitHub Container Registry + if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} uses: docker/login-action@v2 with: registry: ghcr.io