diff --git a/.github/workflows/deploy_helm_chart.yaml b/.github/workflows/deploy_helm_chart.yaml index 40dc2b4cc..4fdde92c0 100644 --- a/.github/workflows/deploy_helm_chart.yaml +++ b/.github/workflows/deploy_helm_chart.yaml @@ -61,8 +61,8 @@ jobs: - name: Auth to Google Cloud uses: google-github-actions/auth@v2 with: - workload_identity_provider: ${{ vars.CICD_WORKLOAD_IDENTITY_PROVIDER }} - service_account: ${{ vars.CICD_SERVICE_ACCOUNT_EMAIL }} + workload_identity_provider: ${{ env.CICD_WORKLOAD_IDENTITY_PROVIDER }} + service_account: ${{ env.CICD_SERVICE_ACCOUNT_EMAIL }} - name: Get GKE credentials to access the cluster uses: google-github-actions/get-gke-credentials@v2 diff --git a/.github/workflows/package_and_push_helm_chart.yaml b/.github/workflows/package_and_push_helm_chart.yaml index cc246c23b..bb605c7a8 100644 --- a/.github/workflows/package_and_push_helm_chart.yaml +++ b/.github/workflows/package_and_push_helm_chart.yaml @@ -29,11 +29,11 @@ jobs: - name: Setup Helm uses: azure/setup-helm@v4.1.0 with: - version: ${{ vars.HELM_VERSION }} + version: ${{ env.HELM_VERSION }} - name: Login with Helm run: | - echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ vars.HELM_REGISTRY }} --username ${{ github.repository_owner }} --password-stdin + echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ env.HELM_REGISTRY }} --username ${{ github.repository_owner }} --password-stdin - name: Prepare version run: | @@ -46,7 +46,7 @@ jobs: - name: Push Helm chart to repository run: | helm package "charts/fairspace" --version ${{ env.VERSION }} - helm push "fairspace-${{ env.VERSION }}.tgz" "oci://${{ vars.HELM_REGISTRY }}" + helm push "fairspace-${{ env.VERSION }}.tgz" "oci://${{ env.HELM_REGISTRY }}" echo "Pushed package to repository" - name: Clean up