Ver código fonte

ci(docker): emqx-enterprise repo does not exist in ECR

Ivan Dyachkov 2 anos atrás
pai
commit
e91d22b0d5

+ 2 - 1
.github/workflows/_pr_entrypoint.yaml

@@ -63,7 +63,8 @@ jobs:
           ./actionlint -color \
           ./actionlint -color \
             -shellcheck= \
             -shellcheck= \
             -ignore 'label ".+" is unknown' \
             -ignore 'label ".+" is unknown' \
-            -ignore 'value "emqx-enterprise" in "exclude"'
+            -ignore 'value "emqx-enterprise" in "exclude"' \
+            -ignore 'value "emqx-enterprise-elixir" in "exclude"'
       - name: Check line-break at EOF
       - name: Check line-break at EOF
         run: |
         run: |
           ./scripts/check-nl-at-eof.sh
           ./scripts/check-nl-at-eof.sh

+ 5 - 0
.github/workflows/build_and_push_docker_images.yaml

@@ -88,6 +88,11 @@ jobs:
         registry:
         registry:
           - 'docker.io'
           - 'docker.io'
           - 'public.ecr.aws'
           - 'public.ecr.aws'
+        exclude:
+          - profile: emqx-enterprise
+            registry: 'public.ecr.aws'
+          - profile: emqx-enterprise-elixir
+            registry: 'public.ecr.aws'
 
 
     steps:
     steps:
     - uses: actions/checkout@v3
     - uses: actions/checkout@v3