diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ca66ba1..b56c28c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -72,8 +72,8 @@ jobs: run: | sudo ./install-iconik.sh echo "Getting version" - echo iconik-storage-gateway --version - version=$(iconik-storage-gateway --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') + echo $(/opt/iconik/iconik_storage_gateway/iconik_storage_gateway --version) + version=$(/opt/iconik/iconik_storage_gateway/iconik_storage_gateway --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') echo "Version: ${version}" echo "version=${version}" >> $GITHUB_OUTPUT [ -z "$version" ] && { echo "Failed to get version"; exit 1; }