From 653adbaf5614cf81eb86d5e36772d550b0bd8a9a Mon Sep 17 00:00:00 2001 From: Edvin Norling Date: Thu, 23 May 2024 15:41:08 +0200 Subject: [PATCH] fix crd upload --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1d56b29a9..eeb5d25d6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -72,7 +72,8 @@ jobs: for d in deploy/kustomize/overlays/*/ ; do kustomize build "$d" --load-restrictor LoadRestrictionsNone > kustomize-$(basename "$d").yaml done - gh release upload "${{ github.ref_name }}" kustomize-*.yaml deploy/kustomize/base/crds.yaml + kustomize build config/crd > crds.yaml + gh release upload "${{ github.ref_name }}" kustomize-*.yaml crds.yaml image: runs-on: ubuntu-latest