diff --git a/kibot-ci.yml b/kibot-ci.yml index 3d1ad33..1605513 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -387,12 +387,12 @@ upload_packages: # Create combined zip zip -r Fabrication/All.zip Fabrication/ - # Upload each zip to package registry using wget (curl has dependency issues in this image) + # Upload each zip to package registry (curl is pre-installed in the image) for zipfile in $(find Fabrication/ -maxdepth 1 -name '*.zip'); do basename=$(basename "$zipfile" .zip) url="${PACKAGE_REGISTRY_URL}/${VERSION}/${basename}-${VERSION}.zip" echo "Uploading: $zipfile to $url" - wget --header="JOB-TOKEN: ${CI_JOB_TOKEN}" --method=PUT --body-file="$zipfile" -O- "$url" + curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "$zipfile" "$url" done artifacts: when: always