Skip to content

Commit

Permalink
wip: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Aug 30, 2024
1 parent 712f3be commit 41d4d42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions blueprint/schema/_embed/schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ package schema
#ProviderGithub: {
// Credentials contains the credentials to use for Github
// +optional
Credentials?: #Secret
credentials?: #Secret @go(Credentials)

// Registry contains the Github registry to use.
// +optional
Registry?: null | string @go(,*string)
registry?: null | string @go(Registry,*string)
}

// Secret contains the secret provider and a list of mappings
Expand Down
4 changes: 2 additions & 2 deletions blueprint/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ type ProviderEarthly struct {
type ProviderGithub struct {
// Credentials contains the credentials to use for Github
// +optional
Credentials Secret
Credentials Secret `json:"credentials"`

// Registry contains the Github registry to use.
// +optional
Registry *string
Registry *string `json:"registry"`
}

// Secret contains the secret provider and a list of mappings
Expand Down
4 changes: 2 additions & 2 deletions blueprint/schema/schema_go_gen.cue
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ package schema
#ProviderGithub: {
// Credentials contains the credentials to use for Github
// +optional
Credentials?: #Secret
credentials?: #Secret @go(Credentials)

// Registry contains the Github registry to use.
// +optional
Registry?: null | string @go(,*string)
registry?: null | string @go(Registry,*string)
}

// Secret contains the secret provider and a list of mappings
Expand Down

0 comments on commit 41d4d42

Please sign in to comment.