mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
fix #95 - change ports to array of strings
This commit is contained in:
parent
d2ef0e27c7
commit
c571efd481
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ func commonKeysMatch(a map[string]interface{}, b map[string]interface{}) bool {
|
||||||
type ContainerSpec struct {
|
type ContainerSpec struct {
|
||||||
Image string `yaml:"image"`
|
Image string `yaml:"image"`
|
||||||
Env map[string]string `yaml:"env"`
|
Env map[string]string `yaml:"env"`
|
||||||
Ports []int `yaml:"ports"`
|
Ports []string `yaml:"ports"`
|
||||||
Volumes []string `yaml:"volumes"`
|
Volumes []string `yaml:"volumes"`
|
||||||
Options string `yaml:"options"`
|
Options string `yaml:"options"`
|
||||||
Entrypoint string
|
Entrypoint string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue