From ea3c9f934a589817726b42f2e715aa88bc3b0346 Mon Sep 17 00:00:00 2001 From: ludo8147 <ludo8147@bht-berlin.de> Date: Wed, 4 Sep 2024 08:48:39 +0200 Subject: [PATCH] adapted job --- .gitlab-ci.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebdcae5..9ed0295 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,6 @@ workflow: - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main" when: always -variables: - version: 0.0.$CI_PIPELINE_IID - stages: - 'build' - 'test' @@ -53,17 +50,12 @@ job_publish: - docker-privileged dependencies: - job_build - before_script: - - apt update - - apt install -y ca-certificates curl - - update-ca-certificates script: - | for artifact in ./artifacts/*; do - chmod +x ${artifact} curl \ --header "Job-TOKEN: ${CI_JOB_TOKEN}" \ --upload-file ${artifact} \ - "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/${version}/" + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/latest/" done -- GitLab