Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 47b9bf69 authored by Raphael JOIE's avatar Raphael JOIE
Browse files

Merge branch '16-use-ci_api_v4_url-var-in-build-pipeline' into 'main'

Resolve "Use CI_API_V4_URL var in build pipeline"

Closes #16

See merge request !15
parents 1a167a56 8343cba2
No related branches found
No related tags found
1 merge request!15Resolve "Use CI_API_V4_URL var in build pipeline"
Pipeline #147723 failed
......@@ -5,6 +5,6 @@ build-and-publish-package:
script:
- cd ${PROJECT_PATH:=.}
- poetry build
- poetry config repositories.gitlab "https://code.europa.eu/api/v4/projects/$CI_PROJECT_ID/packages/pypi"
- poetry config repositories.gitlab "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/pypi"
- poetry config http-basic.gitlab gitlab-ci-token "$CI_JOB_TOKEN"
- poetry publish --repository gitlab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment