Fix up path to token in command

This commit is contained in:
andrewc
2024-10-08 13:19:12 +10:00
parent cc258bdb23
commit 85aac86ceb

View File

@@ -148,7 +148,7 @@ image:
do do
echo $f echo $f
name=$(echo $f | cut -c3- | cut -d'-' -f1)A name=$(echo $f | cut -c3- | cut -d'-' -f1)A
poetry run python -m kintree_cli -p $CI_PROJECT_DIR/Fabrication/$f --assembly "{'ipn': '$name', 'rev': '$TAG'}" --settings $KINTREE_SETT --digi_token token_storage.json poetry run python -m kintree_cli -p $CI_PROJECT_DIR/Fabrication/$f --assembly "{'ipn': '$name', 'rev': '$TAG'}" --settings $KINTREE_SETT --digi_token /tmp/token_storage.json
done done
- | - |
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file /tmp/token_storage.json $url