diff --git a/builder/source/git.go b/builder/source/git.go index 5df9913..9c6d5cd 100644 --- a/builder/source/git.go +++ b/builder/source/git.go @@ -115,6 +115,7 @@ func clone(uri, path, ref string) error { func reset(path, ref string) error { fetchArgs := []string{ "fetch", + "--tags", "origin", }