ci(docker): use correct tag for smoke test

This commit is contained in:
Ivan Dyachkov 2024-02-14 16:54:03 +01:00
parent 28a10b1664
commit dbd8173635
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ jobs:
timeout-minutes: 1 timeout-minutes: 1
run: | run: |
for tag in $(cat .emqx_docker_image_tags); do for tag in $(cat .emqx_docker_image_tags); do
CID=$(docker run -d -P $_EMQX_DOCKER_IMAGE_TAG) CID=$(docker run -d -P $tag)
HTTP_PORT=$(docker inspect --format='{{(index (index .NetworkSettings.Ports "18083/tcp") 0).HostPort}}' $CID) HTTP_PORT=$(docker inspect --format='{{(index (index .NetworkSettings.Ports "18083/tcp") 0).HostPort}}' $CID)
./scripts/test/emqx-smoke-test.sh localhost $HTTP_PORT ./scripts/test/emqx-smoke-test.sh localhost $HTTP_PORT
docker rm -f $CID docker rm -f $CID