1
1
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:
Miguel Molina 2024-10-16 18:03:55 +02:00 committed by GitHub
parent ca95f0f93c
commit 43ef5b3869
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
}