Skip to content

Commit e71bbf1

Browse files
committed
fix(deploy): bundle publish might publish empty bundle
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
1 parent 263bb37 commit e71bbf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/werf/bundle/publish/publish.go

+2
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,8 @@ func runPublish(ctx context.Context, imageNameListFromArgs []string) error {
418418
bundleRepo = stagesStorage.Address()
419419
}
420420

421+
chart.CurrentChartType = chart.ChartTypeBundle
422+
421423
return bundles.Publish(ctx, bundleTmpDir, fmt.Sprintf("%s:%s", bundleRepo, cmdData.Tag), bundlesRegistryClient, bundles.PublishOptions{
422424
HelmCompatibleChart: *commonCmdData.HelmCompatibleChart,
423425
RenameChart: *commonCmdData.RenameChart,

0 commit comments

Comments
 (0)