File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,17 @@ commands:
5959
6060 echo ${GCLOUD_SERVICE_ACCOUNT_SECRET_JSON} > tmp_secret_key.json
6161 export GOOGLE_APPLICATION_CREDENTIALS=$PWD/tmp_secret_key.json
62+
63+ # add docker image to input JSON
64+ cat ${INPUT} | jq ".+{\"chip.docker\": \"${TAG}\"}" > input_with_docker.json
65+
6266 caper run ../../../chip.wdl \
6367 --backend gcp --gcp-prj ${GOOGLE_PROJECT_ID} \
6468 --gcp-service-account-key-json $PWD/tmp_secret_key.json \
6569 --out-gcs-bucket ${CAPER_OUT_DIR} --tmp-gcs-bucket ${CAPER_TMP_DIR} \
66- -i ${INPUT} -m metadata.json --docker ${TAG}
70+ -i input_with_docker.json -m metadata.json --docker ${TAG}
71+
72+ rm -f input_with_docker.json
6773
6874 res=$(jq '.outputs["chip.qc_json_ref_match"]' metadata.json)
6975 [[ "$res" != true ]] && exit 100
You can’t perform that action at this time.
0 commit comments