From 0c95be6963d27ffaba8674e69a07be98fd9e574c Mon Sep 17 00:00:00 2001 From: Yera All Date: Sat, 4 Apr 2026 02:54:37 +0500 Subject: [PATCH] Adapt registry deploy jobs for shell prod runner --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bbedce9..2c3bae4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -88,11 +88,17 @@ postgres-readiness: .docker_build: tags: - call-center-prod + variables: + DOCKER_HOST: "" + DOCKER_TLS_VERIFY: "" + DOCKER_CERT_PATH: "" + DOCKER_TLS_CERTDIR: "" image: docker:27 services: - name: docker:27-dind alias: docker before_script: + - command -v docker >/dev/null - echo "$CI_REGISTRY_PASSWORD" | docker login "$CI_REGISTRY" -u "$CI_REGISTRY_USER" --password-stdin rules: - if: '$ENABLE_REGISTRY_BUILD == "1" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' @@ -152,7 +158,8 @@ deploy-production: environment: name: production before_script: - - apk add --no-cache openssh-client rsync + - command -v ssh >/dev/null + - command -v rsync >/dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - printf '%s\n' "$DEPLOY_SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519