From 87d40b4ea7fef5261f210f4ea5dea6027a6e2faf Mon Sep 17 00:00:00 2001 From: Neshura Date: Mon, 19 Jun 2023 18:06:46 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"