Add commit pinning option to Git repository API
This commit is contained in:
parent
b4b85029fb
commit
424c1cc097
|
@ -39,6 +39,10 @@ type GitRepositoryRef struct {
|
||||||
// The git tag semver expression, takes precedence over tag.
|
// The git tag semver expression, takes precedence over tag.
|
||||||
// +optional
|
// +optional
|
||||||
SemVer string `json:"semver"`
|
SemVer string `json:"semver"`
|
||||||
|
|
||||||
|
// The git commit sha to checkout, if specified branch and tag filters will be ignored.
|
||||||
|
// +optional
|
||||||
|
Commit string `json:"commit"`
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue