diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 715a556..ae32283 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ stages: ## Docker steps build: - image: rust:bullseye + image: rust:latest stage: build variables: @@ -48,10 +48,11 @@ Tag Release: - !reference [.deploy, rules] script: - echo "running Release Job, attaching Artifact from Job $JOB_ID" + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file artifacts/ascendance-of-a-bookworm-bot "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/linux/$CI_COMMIT_TAG/ascendance-of-a-bookworm-bot"' release: tag_name: '$CI_COMMIT_TAG' description: '$CI_COMMIT_TAG' assets: links: - name: "ascendance-of-a-bookworm-bot.zip" - url: "https://gitlab.neshweb.net/Neshura/ascendance-of-a-bookworm-bot/-/jobs/$JOB_ID/artifacts/download" + url: "https://gitlab.neshweb.net/Neshura/ascendance-of-a-bookworm-bot/packages/generic/linux/$CI_COMMIT_TAG/ascendance-of-a-bookworm-bot"