From e9238c6ca3359668842e07bde44f9b4f7afbe375 Mon Sep 17 00:00:00 2001 From: zhanghongtong Date: Sun, 13 Feb 2022 12:51:53 +0800 Subject: [PATCH] ci: use exclude instead of include for build matrix --- .github/workflows/build_packages.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 27a7004b1..4aa0b1d9b 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -351,15 +351,18 @@ 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' - otp: 24.1.5-3 - + - profile: emqx-ee + registry: 'public.ecr.aws' + steps: - uses: actions/download-artifact@v2 with: