Kaynağa Gözat

change default build method to docker

Alexander Belanger 5 yıl önce
ebeveyn
işleme
2b58f2a39b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      cli/cmd/deploy/deploy.go

+ 2 - 2
cli/cmd/deploy/deploy.go

@@ -96,8 +96,8 @@ func NewDeployAgent(client *api.Client, app string, opts *DeployOpts) (*DeployAg
 			// otherwise build type is pack
 			// otherwise build type is pack
 			deployAgent.opts.Method = DeployBuildTypePack
 			deployAgent.opts.Method = DeployBuildTypePack
 		} else {
 		} else {
-			// if the git action config does not exist, we use pack by default
-			deployAgent.opts.Method = DeployBuildTypePack
+			// if the git action config does not exist, we use docker by default
+			deployAgent.opts.Method = DeployBuildTypeDocker
 		}
 		}
 	}
 	}