ci: use https registry for customer deploy
Some checks failed
CI/CD Pipeline / Quality Gate (push) Successful in 26s
CI/CD Pipeline / Quality Gate (pull_request) Successful in 25s
CI/CD Pipeline / Build and Push Images (push) Has been cancelled
CI/CD Pipeline / Internal Notify (push) Has been cancelled
CI/CD Pipeline / Deploy Dev in Dokploy (push) Has been cancelled
CI/CD Pipeline / Build and Push Images (pull_request) Successful in 0s
CI/CD Pipeline / Internal Notify (pull_request) Successful in 1s
CI/CD Pipeline / Deploy Dev in Dokploy (pull_request) Failing after 1s

This commit is contained in:
2026-05-05 00:11:40 +02:00
parent a1894dfa48
commit 99ec865dfa

View File

@@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
CUSTOMER_REGISTRY_HOST: registry.dev.nii-ecos.ru:80 CUSTOMER_REGISTRY_HOST: registry.dev.nii-ecos.ru
CUSTOMER_REGISTRY_NAMESPACE: avm CUSTOMER_REGISTRY_NAMESPACE: avm
CUSTOMER_WEB_IMAGE: mostovik-backend-web CUSTOMER_WEB_IMAGE: mostovik-backend-web
CUSTOMER_CELERY_IMAGE: mostovik-backend-celery CUSTOMER_CELERY_IMAGE: mostovik-backend-celery
@@ -103,7 +103,7 @@ jobs:
celery_ref="${registry_path}/${CUSTOMER_CELERY_IMAGE}" celery_ref="${registry_path}/${CUSTOMER_CELERY_IMAGE}"
printf '%s' "${registry_password}" \ printf '%s' "${registry_password}" \
| ./crane auth login --insecure "${CUSTOMER_REGISTRY_HOST}" \ | ./crane auth login "${CUSTOMER_REGISTRY_HOST}" \
-u "${registry_user}" \ -u "${registry_user}" \
--password-stdin --password-stdin
@@ -115,8 +115,8 @@ jobs:
-t customer-mostovik-backend-web:local \ -t customer-mostovik-backend-web:local \
. .
docker save customer-mostovik-backend-web:local -o /tmp/customer-mostovik-backend-web.tar docker save customer-mostovik-backend-web:local -o /tmp/customer-mostovik-backend-web.tar
./crane push --insecure /tmp/customer-mostovik-backend-web.tar "${web_ref}:latest" ./crane push /tmp/customer-mostovik-backend-web.tar "${web_ref}:latest"
./crane push --insecure /tmp/customer-mostovik-backend-web.tar "${web_ref}:${sha_short}" ./crane push /tmp/customer-mostovik-backend-web.tar "${web_ref}:${sha_short}"
docker build \ docker build \
--platform linux/amd64 \ --platform linux/amd64 \
@@ -126,8 +126,8 @@ jobs:
-t customer-mostovik-backend-celery:local \ -t customer-mostovik-backend-celery:local \
. .
docker save customer-mostovik-backend-celery:local -o /tmp/customer-mostovik-backend-celery.tar docker save customer-mostovik-backend-celery:local -o /tmp/customer-mostovik-backend-celery.tar
./crane push --insecure /tmp/customer-mostovik-backend-celery.tar "${celery_ref}:latest" ./crane push /tmp/customer-mostovik-backend-celery.tar "${celery_ref}:latest"
./crane push --insecure /tmp/customer-mostovik-backend-celery.tar "${celery_ref}:${sha_short}" ./crane push /tmp/customer-mostovik-backend-celery.tar "${celery_ref}:${sha_short}"
- name: Deploy customer stack - name: Deploy customer stack
env: env: