diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cf4e91..a0dfd2d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,6 +49,8 @@ upload: script: - | curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${ADDON_PACKAGE} ${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE} + sha256sum "$ADDON_PACKAGE" > "${ADDON_PACKAGE}.sha256sum" + curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "${ADDON_PACKAGE}.sha256sum" "${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}.sha256sum" release_job: stage: release @@ -64,3 +66,5 @@ release_job: links: - name: ${ADDON_PACKAGE} url: "${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}" + - name: ${ADDON_PACKAGE}.sha256sum + url: "${PACKAGE_REGISTRY_URL}/${ADDON_PACKAGE}.sha256sum"