mirror of
https://github.com/mcuadros/ascode
synced 2024-11-22 08:52:00 +01:00
Merge pull request #6 from erizocosmico/patch-1
docker: register correct builtin function for Image.tags()
This commit is contained in:
commit
5781925c19
@ -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