Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
composer-publish
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
composer-publish
Commits
0003f5b2
Commit
0003f5b2
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common.yml
+3
-3
3 additions, 3 deletions
common.yml
with
3 additions
and
3 deletions
common.yml
+
3
−
3
View file @
0003f5b2
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment