Skip to content

Commit

Permalink
fix(envbuilder.go): document an exported function
Browse files Browse the repository at this point in the history
  • Loading branch information
SasSwart committed Oct 29, 2024
1 parent 3d9aac2 commit 39fe438
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

var buildSecretPrefix = fmt.Sprintf("%sBUILD_SECRET_", envPrefix)

// EnvWithBuildSecretPrefix returns a string in the format of a build secret environment variable.
func EnvWithBuildSecretPrefix(secretName, secretValue string) string {
return fmt.Sprintf("%s%s=%s", buildSecretPrefix, secretName, secretValue)
}
Expand Down

0 comments on commit 39fe438

Please sign in to comment.