diff --git a/.github/workflows/release-compliant-reward-distribution-indexer-docker.yml b/.github/workflows/release-compliant-reward-distribution-indexer-docker.yml index 7e75816c..a3fa6c1e 100644 --- a/.github/workflows/release-compliant-reward-distribution-indexer-docker.yml +++ b/.github/workflows/release-compliant-reward-distribution-indexer-docker.yml @@ -39,8 +39,8 @@ jobs: if docker manifest inspect ${FULL_IMAGE_TAG} > /dev/null; then echo "::error ${FULL_IMAGE_TAG} already exists" exit 1 - elif [ ! "${{ github.ref_name }}" = "compliant-reward-distribution/indexer/${VERSION}" ]; then - echo "::error Expected tag ${{ github.ref_name }} does not match the version ${VERSION}." + elif [ ! "${{ github.ref_name }}" = "compliant-reward-distribution/indexer/${BACKEND_VERSION}" ]; then + echo "::error Expected tag ${{ github.ref_name }} does not match the version ${BACKEND_VERSION}." exit 1 else # Store the full image tag into a tag variable for the following step.