Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit bb1746f

Browse files
author
Matthieu Nottale
committed
Push: resolve app name as we need it.
Signed-off-by: Matthieu Nottale <[email protected]>
1 parent 8517049 commit bb1746f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packager/registry.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ func Load(repotag string) error {
8484

8585
// Push pushes an app to a registry
8686
func Push(appname, prefix, tag string) error {
87-
err := Save(appname, prefix, tag)
87+
appname, cleanup, err := Extract(appname)
88+
if err != nil {
89+
return err
90+
}
91+
defer cleanup()
92+
err = Save(appname, prefix, tag)
8893
if err != nil {
8994
return err
9095
}

0 commit comments

Comments
 (0)