Skip to content

Commit 7ca2875

Browse files
committed
fix: destroy with prepare apps
1 parent 50a64fa commit 7ca2875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/actions/deploy_build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func (d *Deploy) prepareApps(ctx context.Context) error {
259259
a := app.(*config.ServiceApp)
260260
isCustom := a.ServiceAppProperties.Build.DockerImage != ""
261261

262-
if !d.opts.SkipBuild && !a.ServiceAppProperties.Build.SkipBuild {
262+
if d.opts.Destroy || (!d.opts.SkipBuild && !a.ServiceAppProperties.Build.SkipBuild) {
263263
continue
264264
}
265265

0 commit comments

Comments
 (0)