software-templates icon indicating copy to clipboard operation
software-templates copied to clipboard

github.com/project-slug in catalog-info.yaml shown "undefined:undefined"

Open peiwang-converge opened this issue 1 year ago • 1 comments

I tried to run scaffolder-templates/clean-architecture-app, but catalog-info.yaml showned "undefined:undefined". Wonder what am I missing?

The code in catalog-info.yaml has

  annotations:
    github.com/project-slug: ${{values.destination.owner + "/" + values.destination.repo}}

but I don't see values.destination defined any where. What did I missed?

peiwang-converge avatar May 17 '24 15:05 peiwang-converge

It turned out we just need to add below line in scaffolder-templates/clean-architecture-app/template.yaml in line 108:

      destination: ${{ parameters.repoUrl | parseRepoUrl }}

peiwang-converge avatar May 22 '24 00:05 peiwang-converge