fix: drone
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sabda Yagra 2026-02-19 12:27:04 +07:00
parent c058e74cf2
commit a39bd17158
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
kind: pipeline kind: pipeline
type: http type: ssh
name: kontenhumas-fe-build-deploy name: kontenhumas-fe-build-deploy
server: server:
@ -17,7 +17,7 @@ steps:
- dev-1 - dev-1
- main - main
commands: commands:
- rm -rf /opt/build/kontenhumas-fe - rm -rf /opt/build/kontenhumas
- mkdir -p /opt/build - mkdir -p /opt/build
- cd /opt/build - cd /opt/build
- git clone http://38.47.180.165:3000/kontenhumas/kontenhumas-fe.git - git clone http://38.47.180.165:3000/kontenhumas/kontenhumas-fe.git
@ -29,7 +29,7 @@ steps:
- main - main
commands: commands:
- docker login 38.47.180.165:3000 -u administrator -p HarborDockerImageRep0 - docker login 38.47.180.165:3000 -u administrator -p HarborDockerImageRep0
- cd /opt/build/kontenhumas-fe - cd /opt/build/kontenhumas
- docker build -t 38.47.180.165:3000/kontenhumas/kontenhumas-fe:$DRONE_BRANCH . - docker build -t 38.47.180.165:3000/kontenhumas/kontenhumas-fe:$DRONE_BRANCH .
- docker push 38.47.180.165:3000/kontenhumas/kontenhumas-fe:$DRONE_BRANCH - docker push 38.47.180.165:3000/kontenhumas/kontenhumas-fe:$DRONE_BRANCH