mirror of
https://github.com/mcuadros/ascode
synced 2024-11-26 06:01:08 +01:00
docker: register correct builtin function for Image.tags()
This commit is contained in:
parent
ca95f0f93c
commit
43ef5b3869
@ -144,7 +144,7 @@ func (i *image) Attr(name string) (starlark.Value, error) {
|
||||
name := i.ref.DockerReference()
|
||||
return starlark.String(reference.Path(name)), nil
|
||||
case "tags":
|
||||
return starlark.NewBuiltin("tags", i.builtinVersionFunc), nil
|
||||
return starlark.NewBuiltin("tags", i.builtinTagsFunc), nil
|
||||
case "version":
|
||||
return starlark.NewBuiltin("version", i.builtinVersionFunc), nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user