mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-12 22:47:09 +08:00

hasTag was always true as it was set to "true" when missing, in which case the default (`:latest`) tag was applied; localPath, tag, hasTag := strings.Cut(localPath, ":") if !hasTag { tag = "latest" hasTag = true } Signed-off-by: Sebastiaan van Stijn <github@gone.nl>