change script docker login

This commit is contained in:
Sabda Yagra 2025-07-19 20:50:03 +07:00
parent 72099c35a6
commit 00aeded4ea
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ build-prod:
command: ["--insecure-registry=103.82.242.92:8900"] command: ["--insecure-registry=103.82.242.92:8900"]
script: script:
- docker logout - docker logout
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.82.242.92:8900 - echo "$DEPLOY_TOKEN" | docker login 103.82.242.92:8900 -u "$DEPLOY_USERNAME" --password-stdin
- docker build -t 103.82.242.92:8900/mediahub/new-mediahub-fe:prod . - docker build -t 103.82.242.92:8900/mediahub/new-mediahub-fe:prod .
- docker push 103.82.242.92:8900/mediahub/new-mediahub-fe:prod - docker push 103.82.242.92:8900/mediahub/new-mediahub-fe:prod