From c571efd4819af0aad1381062810f3ede67c8a393 Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Mon, 24 Feb 2020 22:37:20 -0800 Subject: [PATCH] fix #95 - change ports to array of strings --- act/model/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/model/workflow.go b/act/model/workflow.go index 72414264..eb55d391 100644 --- a/act/model/workflow.go +++ b/act/model/workflow.go @@ -171,7 +171,7 @@ func commonKeysMatch(a map[string]interface{}, b map[string]interface{}) bool { type ContainerSpec struct { Image string `yaml:"image"` Env map[string]string `yaml:"env"` - Ports []int `yaml:"ports"` + Ports []string `yaml:"ports"` Volumes []string `yaml:"volumes"` Options string `yaml:"options"` Entrypoint string