Skip to content
Snippets Groups Projects
Commit 8c332113 authored by lucha's avatar lucha
Browse files

Update common.yml

parent 565e50fc
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ stages:
variables:
TAG: $CI_COMMIT_TAG
AUTH: "__token__:$REGISTRY_TOKEN"
PROJECT_ID: $CI_PROJECT_ID
REGISTRY_URL: "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"
release:
stage: release
......@@ -14,5 +14,4 @@ release:
- branches
image: curlimages/curl
script:
- echo "Releasing tag $TAG for project id $PROJECT_ID"
- curl -s -S --fail --data tag=$TAG -u $AUTH "https://gitlab.com/api/v4/projects/$PROJECT_ID/packages/composer"
\ No newline at end of file
- curl -s -S --fail --data tag=$TAG -u $AUTH $REGISTRY_URL
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment