Skip to content

ci(release): improve support for forks - #49

Open
cpboyd wants to merge 1 commit into
kagent-dev:mainfrom
cpboyd:main
Open

cpboyd wants to merge 1 commit into
kagent-dev:mainfrom
cpboyd:main

Conversation

@cpboyd

@cpboyd cpboyd commented Sep 25, 2026

Copy link
Copy Markdown

github.repository will return uppercase characters if originally specified and GHCR only supports lowercase characters: https://github.com/orgs/community/discussions/27086

GitHub Actions doesn't natively provide any toLower function, so I've used Bash parameter expansion ${VAR_NAME,,} and re-exported the variable.

Additionally, the CHART_REPOSITORY path for the helm chart was hardcoded, so I've parameterized with github.repository like IMAGE_REPOSITORY to avoid a fork trying to push to oci://ghcr.io/kagent-dev/substrate/helm

  • Tests pass
  • Appropriate changes to documentation are included in the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant