Fix Docker images test on release (#4153)

This commit is contained in:
Silvano Cerza 2023-02-14 14:18:49 +01:00 committed by GitHub
parent 4a88fae1e7
commit d86a511cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ jobs:
run: |
EXPECTED_VERSION=$(cat VERSION.txt)
function test_image {
local TAG, PLATFORM, VERSION
local TAG PLATFORM VERSION
TAG=$1
PLATFORM=$2
VERSION=$(docker run --platform "$PLATFORM" --rm "deepset/haystack:$TAG" python -c"import haystack; print(haystack.__version__)")