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
enable builds to use GOPROXY
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"path/filepath"
|
||||
|
||||
@ -27,7 +28,7 @@ var FunctionNames = []Function{
|
||||
func NewFunction(funcName string, cfg *devdeploy.Config) (*devdeploy.ProjectFunction, error) {
|
||||
|
||||
ctx := &devdeploy.ProjectFunction{
|
||||
Name: funcName,
|
||||
Name: fmt.Sprintf("%s-%s-%s", cfg.Env, cfg.ProjectName, funcName),
|
||||
CodeDir: filepath.Join(cfg.ProjectRoot, "cmd", funcName),
|
||||
DockerBuildDir: cfg.ProjectRoot,
|
||||
DockerBuildContext: ".",
|
||||
|
Reference in New Issue
Block a user