diff --git a/scripts/build.sh b/scripts/build.sh index 1f72330..3a21846 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,6 +19,7 @@ curl --silent -X 'POST' "${GITEA_HOST}/api/v1/repos/cybercinch/ugly-queue/releas --form attachment="@build/ugly-queue-${1}.tar.gz" # Upload the artifact to composer registry -curl -H "Authorization: token ${GITEA_TOKEN}" \ + +curl --user cibot:${GITEA_TOKEN} \ --upload-file "build/ugly-queue-${1}.tar.gz" \ - "${GITEA_HOST}/api/packages/cybercinch/composer?version=${1}" \ No newline at end of file + "${GITEA_HOST}/api/packages/cybercinch/composer?version=${1}"