mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-17 19:41:04 +02:00
Improve dockerhub releases
This commit is contained in:
@ -38,7 +38,7 @@ func (widget *Releases) Initialize() error {
|
||||
var gitLabTokenAsString = widget.GitLabToken.String()
|
||||
|
||||
for _, repository := range widget.Repositories {
|
||||
parts := strings.Split(repository, ":")
|
||||
parts := strings.SplitN(repository, ":", 2)
|
||||
var request *feed.ReleaseRequest
|
||||
|
||||
if len(parts) == 1 {
|
||||
|
Reference in New Issue
Block a user