ci: use https registry for customer deploy
Some checks failed
CI/CD Pipeline / Build Docker Images (push) Has been cancelled
CI/CD Pipeline / Push to Gitea Registry (push) Has been cancelled
CI/CD Pipeline / Deploy to Server (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 8m40s
CI/CD Pipeline / Run Tests (pull_request) Failing after 13m12s
CI/CD Pipeline / Build Docker Images (pull_request) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (pull_request) Has been skipped
CI/CD Pipeline / Deploy to Server (pull_request) Has been skipped
Some checks failed
CI/CD Pipeline / Build Docker Images (push) Has been cancelled
CI/CD Pipeline / Push to Gitea Registry (push) Has been cancelled
CI/CD Pipeline / Deploy to Server (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 8m40s
CI/CD Pipeline / Run Tests (pull_request) Failing after 13m12s
CI/CD Pipeline / Build Docker Images (pull_request) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (pull_request) Has been skipped
CI/CD Pipeline / Deploy to Server (pull_request) Has been skipped
This commit is contained in:
@@ -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: state-corp-backend-web
|
CUSTOMER_WEB_IMAGE: state-corp-backend-web
|
||||||
CUSTOMER_CELERY_IMAGE: state-corp-backend-celery
|
CUSTOMER_CELERY_IMAGE: state-corp-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-state-corp-backend-web:local \
|
-t customer-state-corp-backend-web:local \
|
||||||
.
|
.
|
||||||
docker save customer-state-corp-backend-web:local -o /tmp/customer-state-corp-backend-web.tar
|
docker save customer-state-corp-backend-web:local -o /tmp/customer-state-corp-backend-web.tar
|
||||||
./crane push --insecure /tmp/customer-state-corp-backend-web.tar "${web_ref}:latest"
|
./crane push /tmp/customer-state-corp-backend-web.tar "${web_ref}:latest"
|
||||||
./crane push --insecure /tmp/customer-state-corp-backend-web.tar "${web_ref}:${sha_short}"
|
./crane push /tmp/customer-state-corp-backend-web.tar "${web_ref}:${sha_short}"
|
||||||
|
|
||||||
docker build \
|
docker build \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
@@ -126,8 +126,8 @@ jobs:
|
|||||||
-t customer-state-corp-backend-celery:local \
|
-t customer-state-corp-backend-celery:local \
|
||||||
.
|
.
|
||||||
docker save customer-state-corp-backend-celery:local -o /tmp/customer-state-corp-backend-celery.tar
|
docker save customer-state-corp-backend-celery:local -o /tmp/customer-state-corp-backend-celery.tar
|
||||||
./crane push --insecure /tmp/customer-state-corp-backend-celery.tar "${celery_ref}:latest"
|
./crane push /tmp/customer-state-corp-backend-celery.tar "${celery_ref}:latest"
|
||||||
./crane push --insecure /tmp/customer-state-corp-backend-celery.tar "${celery_ref}:${sha_short}"
|
./crane push /tmp/customer-state-corp-backend-celery.tar "${celery_ref}:${sha_short}"
|
||||||
|
|
||||||
- name: Deploy customer stack
|
- name: Deploy customer stack
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user