File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 6868 repository : adyanth/cloudflare-operator
6969 readme-filepath : ./README.md
7070 short-description : " Cloudflare Operator Controller Manager"
71+ - name : Setup Go 1.24
72+ uses : actions/setup-go@v5
73+ if : github.event.ref_type == 'tag'
74+ with :
75+ go-version : 1.24
76+ - name : Build installer
77+ if : github.event.ref_type == 'tag'
78+ run : make build-installer
79+ - name : Publish installer
80+ if : github.event.ref_type == 'tag'
81+ run : gh release upload ${{ github.ref_name }} dist/*.yaml
82+ env :
83+ GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ testbin/*
2626
2727# used for development
2828secrets
29+ dist
Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
173173build-installer : manifests generate kustomize # # Generate a consolidated YAML with CRDs and deployment.
174174 mkdir -p dist
175175 cd config/manager && $(KUSTOMIZE ) edit set image controller=${IMG}
176- $(KUSTOMIZE ) build config/default > dist/install.yaml
176+ $(KUSTOMIZE ) build config/default > dist/cloudflare-operator.yaml
177+ $(KUSTOMIZE ) build config/crd > dist/cloudflare-operator.crds.yaml
177178
178179# #@ Deployment
179180
You can’t perform that action at this time.
0 commit comments