mirror of
https://github.com/thegeeklab/drone-docker-buildx.git
synced 2024-11-14 00:30:40 +00:00
Add periods
This commit is contained in:
parent
242f2ee10e
commit
e016e7112d
@ -179,17 +179,17 @@ func commandBuild(build Build, dryrun bool) *execabs.Cmd {
|
||||
return execabs.Command(dockerBin, args...)
|
||||
}
|
||||
|
||||
// helper function to parse string secret key-pair
|
||||
// helper function to parse string secret key-pair.
|
||||
func getSecretStringCmdArg(kvp string) (string, error) {
|
||||
return getSecretCmdArg(kvp, false)
|
||||
}
|
||||
|
||||
// helper function to parse file secret key-pair
|
||||
// helper function to parse file secret key-pair.
|
||||
func getSecretFileCmdArg(kvp string) (string, error) {
|
||||
return getSecretCmdArg(kvp, true)
|
||||
}
|
||||
|
||||
// helper function to parse secret key-pair
|
||||
// helper function to parse secret key-pair.
|
||||
func getSecretCmdArg(kvp string, file bool) (string, error) {
|
||||
delimIndex := strings.IndexByte(kvp, '=')
|
||||
if delimIndex == -1 {
|
||||
|
Loading…
Reference in New Issue
Block a user