diff --git a/schema/types/labels.go b/schema/types/labels.go index b8317f32..ce182db7 100644 --- a/schema/types/labels.go +++ b/schema/types/labels.go @@ -7,7 +7,7 @@ import ( ) var ValidOSArch = map[string][]string{ - "linux": {"amd64", "i386"}, + "linux": {"amd64", "i386", "arm"}, "freebsd": {"amd64", "i386", "arm"}, "darwin": {"x86_64", "i386"}, } diff --git a/schema/types/labels_test.go b/schema/types/labels_test.go index 90d0578c..95776d90 100644 --- a/schema/types/labels_test.go +++ b/schema/types/labels_test.go @@ -25,7 +25,7 @@ func TestLabels(t *testing.T) { }, { `[{"name": "os", "value": "linux"}, {"name": "arch", "value": "arm"}]`, - `bad arch "arm" for linux`, + "", }, { `[{"name": "name"}]`,