mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-08 08:10:14 +01:00
GitLab CI: Fix clean up stage
we need to get the authorization token with the gitlab address, not the registry. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
c104f4fb28
commit
cbc447a11c
1 changed files with 2 additions and 1 deletions
|
|
@ -390,6 +390,7 @@ freebsd:11.2@force-container-prep:
|
|||
script:
|
||||
# get the full container image name (CURRENT_CONTAINER_IMAGE still has indirections)
|
||||
- CONTAINER_IMAGE=$(eval echo "$CURRENT_CONTAINER_IMAGE")
|
||||
- GITLAB=$(echo $CI_PROJECT_URL | cut -f3 -d/)
|
||||
- REPOSITORY=$(echo $CONTAINER_IMAGE | cut -f2- -d/)
|
||||
- IMAGE_PATH=$(echo $CONTAINER_IMAGE | cut -f1 -d:)
|
||||
|
||||
|
|
@ -402,7 +403,7 @@ freebsd:11.2@force-container-prep:
|
|||
- token=$(eval echo "\$$tokenname")
|
||||
|
||||
# request a token for the registry API
|
||||
- REGISTRY_TOKEN=$(curl https://$CI_REGISTRY/jwt/auth --get
|
||||
- REGISTRY_TOKEN=$(curl https://$GITLAB/jwt/auth --get
|
||||
--silent --show-error
|
||||
-d client_id=docker
|
||||
-d offline_token=true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue