Skip to content
Snippets Groups Projects
Commit 0003f5b2 authored by ale's avatar ale
Browse files

Revert "Use Gitlab CI job tokens for authentication"

This reverts commit 8d7f9e1e.
parent 8d7f9e1e
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@ stages:
variables:
TAG: $CI_COMMIT_TAG
AUTH: "gitlab-ci-token:${CI_JOB_TOKEN}"
REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/composer"
AUTH: "__token__:$REGISTRY_TOKEN"
REGISTRY_URL: "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"
release:
stage: release
......@@ -14,4 +14,4 @@ release:
- branches
image: curlimages/curl
script:
- curl -s -S --fail --data tag=$TAG -u $AUTH $REGISTRY_URL
- 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.
Finish editing this message first!
Please register or to comment