Commit 044d5838 authored by lixuan's avatar lixuan

feat: 房源

parent 48a084cf
...@@ -45,12 +45,12 @@ deploy: ...@@ -45,12 +45,12 @@ deploy:
alias: docker alias: docker
before_script: before_script:
- docker info - docker info
- docker login -p xUSFbdB95_yVRr -u yx-street 47.103.57.78:30002 - docker login -p "${TOKEN}" -u ${USERNAME} ${REPO}
stage: deploy stage: deploy
script: script:
- if [ $TAG == "master" ]; then TAG="latest"; fi - if [ $TAG == "master" ]; then TAG="latest"; fi
- docker build --pull -t 47.103.57.78:30002/yx-street/yichengstreet-be:dev . - docker build --pull -t ${REPO}/${NAMESPACE}/${IMAGE}:${TAG} .
- docker push 47.103.57.78:30002/yx-street/yichengstreet-be:dev - docker push ${REPO}/${NAMESPACE}/${IMAGE}:${TAG}
only: only:
- main - main
- dev - dev
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment