fix --deploy and --publish flags to drone build
This commit is contained in:
parent
8f6a031c6a
commit
a7df1e59e6
1 changed files with 2 additions and 2 deletions
|
@ -127,10 +127,10 @@ func run(path, identity, dockerhost, dockercert, dockerkey string, publish, depl
|
||||||
}
|
}
|
||||||
|
|
||||||
if deploy == false {
|
if deploy == false {
|
||||||
s.Publish = nil
|
s.Deploy = nil
|
||||||
}
|
}
|
||||||
if publish == false {
|
if publish == false {
|
||||||
s.Deploy = nil
|
s.Publish = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the repository root directory
|
// get the repository root directory
|
||||||
|
|
Loading…
Reference in a new issue