mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
fix #24 - support both branch refs and hash refs
This commit is contained in:
parent
3797a9b42e
commit
4e66f2c8be
4 changed files with 32 additions and 10 deletions
|
@ -204,7 +204,7 @@ func waitContainer(input NewDockerRunExecutorInput, cli *client.Client, containe
|
|||
if statusCode == 0 {
|
||||
return nil
|
||||
} else if statusCode == 78 {
|
||||
return fmt.Errorf("exiting with `NEUTRAL`: 78")
|
||||
return fmt.Errorf("exit with `NEUTRAL`: 78")
|
||||
}
|
||||
|
||||
return fmt.Errorf("exit with `FAILURE`: %v", statusCode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue