ci(docker): return condition on when to push images

This commit is contained in:
Ivan Dyachkov 2024-03-18 14:15:24 +01:00
parent 58d0f04056
commit 255d9e7d1e
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ jobs:
docker exec -t -u root $CID node_dump
docker rm -f $CID
- name: Push docker image
if: inputs.publish || github.repository_owner != 'emqx'
env:
PROFILE: ${{ matrix.profile[0] }}
DOCKER_REGISTRY: ${{ matrix.profile[1] }}