ci(build_packages): only push emqx broker to aws ecr

This commit is contained in:
zhanghongtong 2022-01-05 10:12:27 +08:00
parent 6b02d93b73
commit 0b12a7e3a2
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ jobs:
-d "{\"repo\":\"emqx/emqx\", \"tag\": \"${{ env.version }}\" }" \ -d "{\"repo\":\"emqx/emqx\", \"tag\": \"${{ env.version }}\" }" \
${{ secrets.EMQX_IO_RELEASE_API }} ${{ secrets.EMQX_IO_RELEASE_API }}
- name: push docker image to aws ecr - name: push docker image to aws ecr
if: github.event_name == 'release' if: github.event_name == 'release' && matrix.profile == 'emqx'
run: | run: |
set -e -x -u set -e -x -u
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws