Merge pull request #6638 from Rory-Z/ci/fix-push-error

ci(build_packages): only push emqx broker to aws ecr
This commit is contained in:
Rory Z 2022-01-05 15:47:46 +08:00 committed by GitHub
commit a9f37f139d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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