Skip to content

Commit bd6b35d

Browse files
authored
enh: add a test for version in built image
1 parent 934335f commit bd6b35d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ jobs:
158158
--build-arg VERSION="${CIRCLE_TAG:-$THISVERSION}" . \
159159
&& e=0 && break || sleep 15
160160
done && [ "$e" -eq "0" ]
161+
162+
DOCKER_VERSION=$( docker run --rm nipreps/mriqc:latest --version )
163+
test "${CIRCLE_TAG:-$THISVERSION}" == "$DOCKER_VERSION"
161164
- run:
162165
name: Docker push to local registry
163166
no_output_timeout: 40m

0 commit comments

Comments
 (0)