Skip to content

Commit ef451fc

Browse files
committed
fix
1 parent 753e398 commit ef451fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/compliance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
env:
1111
VALIDATOR_IMAGE: ghcr.io/courtois-neuromod/bids-validator:main
12-
VALIDATOR_OPTIONS: "--ignoreNiftiHeaders"
12+
VALIDATOR_OPTIONS: --ignoreNiftiHeaders
1313
# ignores to work on datalad repos without getting files
1414
VALIDATOR_CONFIG: |
1515
{
@@ -30,9 +30,9 @@ jobs:
3030
id: json-yaml-validate
3131
uses: GrantBirki/[email protected]
3232

33-
3433
# Runs a single command using the runners shell
3534
- name: bids-validator
3635
run: |
3736
echo "${VALIDATOR_CONFIG}" > ${TMP_CONFIG_PATH}
38-
docker run -v $GITHUB_WORKSPACE:/bids $VALIDATOR_IMAGE -c ${TMP_CONFIG_PATH} ${VALIDATOR_OPTIONS} /bids
37+
echo "docker run -v $TMP_CONFIG_PATH:$TMP_CONFIG_PATH -v ${GITHUB_WORKSPACE}:/bids ${VALIDATOR_IMAGE} -c ${TMP_CONFIG_PATH} ${VALIDATOR_OPTIONS} /bids"
38+
docker run -v $TMP_CONFIG_PATH:$TMP_CONFIG_PATH -v ${GITHUB_WORKSPACE}:/bids ${VALIDATOR_IMAGE} -c ${TMP_CONFIG_PATH} ${VALIDATOR_OPTIONS} /bids

0 commit comments

Comments
 (0)