You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
fix docker files
This commit is contained in:
@ -98,7 +98,7 @@ func NewConfig(log *log.Logger, targetEnv Env, awsCredentials devdeploy.AwsCrede
|
||||
// it will fail to create appropriate resources for the account of the forked user.
|
||||
if cfg.ProjectName == "saas-starter-kit" {
|
||||
remoteUser := gitRemoteUser(modDetails.ProjectRoot)
|
||||
|
||||
|
||||
// Its a true fork from the origin repo.
|
||||
if remoteUser != "oss" {
|
||||
// Replace the prefix 'saas' with the parent directory name, hopefully the gitlab group/username.
|
||||
|
@ -152,6 +152,8 @@ func NewService(serviceName string, cfg *devdeploy.Config) (*devdeploy.ProjectSe
|
||||
ServiceHostPrimary: ctx.ServiceHostPrimary,
|
||||
ServiceHostNames: ctx.ServiceHostNames,
|
||||
ReleaseTag: ctx.ReleaseTag,
|
||||
|
||||
DockerBuildArgs: make(map[string]string),
|
||||
}
|
||||
|
||||
if srv.DockerBuildDir == "" {
|
||||
@ -589,6 +591,9 @@ func NewService(serviceName string, cfg *devdeploy.Config) (*devdeploy.ProjectSe
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
srv.DockerBuildArgs["swagInit"] = "1"
|
||||
|
||||
default:
|
||||
return nil, errors.Wrapf(devdeploy.ErrInvalidService,
|
||||
"No service context defined for service '%s'",
|
||||
|
Reference in New Issue
Block a user