File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -164,4 +164,6 @@ jobs:
164164
165165 - name : Push Multi-Platform Package to Upbound
166166 if : env.XPKG_ACCESS_ID != ''
167- run : " ./crossplane --verbose xpkg push --package-files $(echo *.xpkg|tr ' ' ,) ${{ env.XPKG }}:${{ env.XPKG_VERSION }}"
167+ # XPKG repo name can't contain uppercase characters like UpboundCare, we need to lowercase if the GithubOrg contains them.
168+ # See https://github.com/orgs/community/discussions/25768#discussioncomment-8057564 for XPKG@L lowercase explanation
169+ run : " ./crossplane --verbose xpkg push --package-files $(echo *.xpkg|tr ' ' ,) ${XPKG@L}:${{ env.XPKG_VERSION }}"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ To get started:
331. Replace `function-template-go` with your function in `go.mod`,
44 `package/crossplane.yaml`, and any Go imports. (You can also do this
55 automatically by running the `./init.sh <function-name>` script.)
6- 2. Update `input/v1beta1/` to reflect your desired input (and run `go generate`)
6+ 2. Update `input/v1beta1/` to reflect your desired input (and run `go generate ./... `)
773. Add your logic to `RunFunction` in `fn.go`
884. Add tests for your logic in `fn_test.go`
9- 5. Update `README.md`, to be about your function!
9+ 5. Update `README.md`, to be about your function!
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ If you just want to jump in and get started:
14141 . Replace ` function-template-go ` with your function in ` go.mod ` ,
1515 ` package/crossplane.yaml ` , and any Go imports. (You can also do this
1616 automatically by running the ` ./init.sh <function-name> ` script.)
17- 1 . Update ` input/v1beta1/ ` to reflect your desired input (and run ` go generate ` )
17+ 1 . Update ` input/v1beta1/ ` to reflect your desired input (and run ` go generate ./... ` )
18181 . Add your logic to ` RunFunction ` in ` fn.go `
19191 . Add tests for your logic in ` fn_test.go `
20201 . Update this file, ` README.md ` , to be about your function!
@@ -41,4 +41,4 @@ $ crossplane xpkg build -f package --embed-runtime-image=runtime
4141[ function guide ] : https://docs.crossplane.io/knowledge-base/guides/write-a-composition-function-in-go
4242[ package docs ] : https://pkg.go.dev/github.com/crossplane/function-sdk-go
4343[ docker ] : https://www.docker.com
44- [ cli ] : https://docs.crossplane.io/latest/cli
44+ [ cli ] : https://docs.crossplane.io/latest/cli
You can’t perform that action at this time.
0 commit comments