Skip to content

Commit

Permalink
fix: circleci test on version within docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban authored Sep 25, 2024
1 parent d843178 commit af556f5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,13 @@ jobs:
&& e=0 && break || sleep 15
done && [ "$e" -eq "0" ]
TARGET_VERSION="${CIRCLE_TAG:-$THISVERSION}"
TARGET_VERSION="MRIQC v${TARGET_VERSION%+*}"
DOCKER_VERSION=$( docker run --rm nipreps/mriqc:latest --version )
echo "Target version: \"${CIRCLE_TAG:-$THISVERSION}\""
DOCKER_VERSION="${DOCKER_VERSION%+*}"
echo "Target version: \"${TARGET_VERSION}\""
echo "Docker version: \"${DOCKER_VERSION}\""
test "${CIRCLE_TAG:-$THISVERSION}" == "$DOCKER_VERSION"
test "${TARGET_VERSION}" == "$DOCKER_VERSION"
- run:
name: Docker push to local registry
no_output_timeout: 40m
Expand Down

0 comments on commit af556f5

Please sign in to comment.