Skip to content
Snippets Groups Projects
Commit 86312b90 authored by ale's avatar ale
Browse files

Implement as per reference documentation

parent 0003f5b2
No related branches found
No related tags found
No related merge requests found
stages:
- release
variables:
TAG: $CI_COMMIT_TAG
AUTH: "__token__:$REGISTRY_TOKEN"
REGISTRY_URL: "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"
release:
stage: release
only:
......@@ -14,4 +9,5 @@ release:
- branches
image: curlimages/curl
script:
- curl -s -S --fail --data tag=$TAG -u $AUTH $REGISTRY_URL
\ No newline at end of file
- 'curl -s -S --fail --header "Job-Token: $CI_JOB_TOKEN" --data tag="${CI_COMMIT_TAG}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/composer"'
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