Skip to content

Commit b389cea

Browse files
authored
1 parent 3aa2f4a commit b389cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/deploy/deploy_build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func determineImage(ctx context.Context, appConfig *appconfig.Config, useWG, rec
107107
opts := imgsrc.RefOptions{
108108
AppName: appConfig.AppName,
109109
WorkingDir: state.WorkingDirectory(ctx),
110-
Publish: !flag.GetBuildOnly(ctx),
110+
Publish: flag.GetBool(ctx, "push") || !flag.GetBuildOnly(ctx),
111111
ImageRef: imageRef,
112112
ImageLabel: flag.GetString(ctx, "image-label"),
113113
}

0 commit comments

Comments
 (0)