Fix SSH deploy keyType
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Adam Štrauch 2023-04-14 19:19:45 +02:00
parent 45996c4d1b
commit 4c2bcdd3e7
Signed by: cx
GPG Key ID: 018304FFA8988F8D
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ func (c *Container) GenerateDeploySSHKeys() (bool, error) {
return false, err
}
_, err = driver.Exec(c.App.Name, []string{"ssh-keygen", "-f", "/srv/.ssh/id_" + keyType, "-P", ""}, "", []string{}, true)
_, err = driver.Exec(c.App.Name, []string{"ssh-keygen", "-t", keyType, "-f", "/srv/.ssh/id_" + keyType, "-P", ""}, "", []string{}, true)
if err != nil {
return false, err
}