From 06ca0a0e0d9333ef76354dd7ea694968f0950dd2 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Tue, 23 Dec 2025 02:30:19 +0000 Subject: [PATCH] Edit .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9050b4dd..038334bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,14 +13,14 @@ build-prod: name: docker:25.0.3-cli services: - name: docker:25.0.3-dind - command: ["--insecure-registry=103.82.242.92:8900"] + command: ["--insecure-registry=103.31.38.120:8900"] script: - docker logout - echo "Username:$DEPLOY_USERNAME" - echo "Token:$DEPLOY_TOKEN" - - echo "$DEPLOY_TOKEN" | docker login 103.82.242.92:8900 --username "$DEPLOY_USERNAME" --password-stdin - - docker build --no-cache -t 103.82.242.92:8900/mediahub/new-mediahub-fe:prod . - - docker push 103.82.242.92:8900/mediahub/new-mediahub-fe:prod + - echo "$DEPLOY_TOKEN" | docker login 103.31.38.120:8900 --username "$DEPLOY_USERNAME" --password-stdin + - docker build --no-cache -t 103.31.38.120:8900/mediahub/new-mediahub-fe:prod . + - docker push 103.31.38.120:8900/mediahub/new-mediahub-fe:prod auto-deploy: stage: deploy