Commit 3ed1e504 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrige l'authentification des jobs composer.

parent 1e91eee8
No related merge requests found
Showing with 4 additions and 2 deletions
+4 -2
...@@ -13,12 +13,14 @@ include: ...@@ -13,12 +13,14 @@ include:
gitlab-composer-tag: gitlab-composer-tag:
extends: [.gitlab-composer] extends: [.gitlab-composer]
script: 'curl --user "___token___:$GITLAB_COMPOSER_TOKEN" --data "tag=$CI_COMMIT_TAG" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"' script: 'curl -fsSL --user "__token__:$GITLAB_COMPOSER_TOKEN" --data "tag=$CI_COMMIT_TAG" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"'
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
gitlab-composer-branch: gitlab-composer-branch:
extends: [.gitlab-composer] extends: [.gitlab-composer]
script: 'curl --user "___token___:$GITLAB_COMPOSER_TOKEN" --data "branch=$CI_COMMIT_BRANCH" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"' script:
- "set -x"
- 'curl -fsSL --user "__token__:$GITLAB_COMPOSER_TOKEN" --data "branch=$CI_COMMIT_BRANCH" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/composer"'
rules: rules:
- if: '$CI_COMMIT_BRANCH' - if: '$CI_COMMIT_BRANCH'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment