image: fixed tags, catalog, push operation

This commit is contained in:
2026-03-11 21:02:10 +02:00
parent a064d942e7
commit 0d67944966
9 changed files with 25 additions and 18 deletions
+6 -2
View File
@@ -18,11 +18,15 @@ import (
"fmt"
"net/http"
"strconv"
"mstore/pkg/descr"
)
func (cli *Client) GetTags(ctx context.Context, rawrepo string) ([]string, error) {
func (cli *Client) GetTags(ctx context.Context, rawrepo string) (*descr.Tags, error) {
var err error
list := make([]string, 0)
list := &descr.Tags{
Tags: make([]string, 0),
}
tagdata, err := cli.GetRawTags(ctx, rawrepo)
if err != nil {
return list, err