diff --git a/.github/workflows/package_and_push_helm_chart.yaml b/.github/workflows/package_and_push_helm_chart.yaml index b4e8949..dcc7456 100644 --- a/.github/workflows/package_and_push_helm_chart.yaml +++ b/.github/workflows/package_and_push_helm_chart.yaml @@ -2,9 +2,6 @@ name: Package and Push Helm Chart on: push: - branches: - - dev - - release workflow_dispatch: inputs: version: @@ -57,5 +54,6 @@ jobs: helm package "charts/fairspace-keycloak" --version ${{ env.VERSION }} - name: Push Helm chart to repository + if: github.ref == 'refs/heads/release' || github.ref == 'refs/heads/dev' run: | helm push "fairspace-keycloak-${{ env.VERSION }}.tgz" "oci://${{ vars.HELM_REGISTRY }}"