Просмотр исходного кода

ci: use exclude instead of include for build matrix

include is unconditional, as a result, it brins in emqx profile
to enterprise repo
Zaiming (Stone) Shi 4 лет назад
Родитель
Сommit
dfb591cac7
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      .github/workflows/build_packages.yaml

+ 6 - 2
.github/workflows/build_packages.yaml

@@ -346,8 +346,12 @@ jobs:
         profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
         profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
         registry:
         registry:
           - 'docker.io'
           - 'docker.io'
-        include:
-          - profile: emqx
+          - 'public.ecr.aws'
+        exclude:
+          # we don't have an aws ecr repo for enterprise and edge yet
+          - profile: emqx-edge
+            registry: 'public.ecr.aws'
+          - profile: emqx-ee
             registry: 'public.ecr.aws'
             registry: 'public.ecr.aws'
 
 
     steps:
     steps: