1
1
mirror of https://github.com/mcuadros/ascode synced 2024-11-22 17:02:03 +01:00

Merge pull request #6 from erizocosmico/patch-1

docker: register correct builtin function for Image.tags()
This commit is contained in:
Máximo Cuadros 2024-10-21 20:36:18 +02:00 committed by GitHub
commit 5781925c19
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
}