ci: use exclude instead of include for build matrix

include is unconditional, as a result, it brins in emqx profile
to enterprise repo
This commit is contained in:
Zaiming (Stone) Shi 2022-02-12 14:31:10 +01:00
parent 5171d3811c
commit dfb591cac7
1 changed files with 6 additions and 2 deletions

View File

@ -346,8 +346,12 @@ jobs:
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
registry:
- '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'
steps: