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:
164
164
165
165
- name : Push Multi-Platform Package to Upbound
166
166
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:
3
3
1. Replace `function-template-go` with your function in `go.mod`,
4
4
`package/crossplane.yaml`, and any Go imports. (You can also do this
5
5
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 ./... `)
7
7
3. Add your logic to `RunFunction` in `fn.go`
8
8
4. 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:
14
14
1 . Replace ` function-template-go ` with your function in ` go.mod ` ,
15
15
` package/crossplane.yaml ` , and any Go imports. (You can also do this
16
16
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 ./... ` )
18
18
1 . Add your logic to ` RunFunction ` in ` fn.go `
19
19
1 . Add tests for your logic in ` fn_test.go `
20
20
1 . Update this file, ` README.md ` , to be about your function!
@@ -41,4 +41,4 @@ $ crossplane xpkg build -f package --embed-runtime-image=runtime
41
41
[ function guide ] : https://docs.crossplane.io/knowledge-base/guides/write-a-composition-function-in-go
42
42
[ package docs ] : https://pkg.go.dev/github.com/crossplane/function-sdk-go
43
43
[ 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