Update .gitlab-ci.yml file

This commit is contained in:
Neshura 2023-06-19 18:06:46 +00:00
parent 9433bf4cb5
commit 87d40b4ea7

View file

@ -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"