1
0
Fork 0
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:
Casey Lee 2020-02-24 22:37:20 -08:00
parent d2ef0e27c7
commit c571efd481

View file

@ -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