ci: use exclude instead of include for build matrix

This commit is contained in:
zhanghongtong 2022-02-13 12:51:53 +08:00
parent fd9b787e9d
commit e9238c6ca3
1 changed files with 9 additions and 6 deletions

View File

@ -351,14 +351,17 @@ jobs:
fail-fast: false
matrix:
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
registry:
- 'docker.io'
otp:
- 24.1.5-3
include:
- profile: emqx
registry:
- 'docker.io'
- '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'
otp: 24.1.5-3
steps:
- uses: actions/download-artifact@v2