feat: some refactoring and /v1/api/provider/nex_token/@me

This commit is contained in:
DJMrTV 2025-03-08 00:53:11 +01:00
commit 9f9393cfe5
7 changed files with 85 additions and 47 deletions

View file

@ -5,6 +5,7 @@ variables:
IMAGE_TAG: "${CI_COMMIT_REF_SLUG}"
before_script:
- git submodule update --init
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" ci.perditum.com
stages:
@ -12,10 +13,6 @@ stages:
- build
- push
initialize-submodules:
stage: initialize-submodules
script:
- git submodule update --init
build:
stage: build
@ -25,6 +22,8 @@ build:
push:
stage: push
needs:
- build
script:
- docker tag "$IMAGE_NAME:$IMAGE_TAG" "$IMAGE_NAME:latest"
- docker push "$IMAGE_NAME:$IMAGE_TAG"