refactor comment with DDD #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: build latest | |
# on: | |
# push: | |
# branches: ["main"] | |
# env: | |
# REGISTRY: registry.cn-shanghai.aliyuncs.com | |
# jobs: | |
# build: | |
# runs-on: ubuntu-latest | |
# permissions: | |
# contents: read | |
# packages: write | |
# id-token: write | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v3 | |
# - name: Build docker image | |
# run: | |
# docker version | |
# ls | |
# docker login --username=${{ secrets.ALIYUN_KEY_ID }} --password=${{ secrets.ALIYUN_KEY_SECRET }} registry.cn-shanghai.aliyuncs.com | |
# docker build -t api . --tag ${{ env.REGISTRY }}/doutok/api:latest --build-arg target=api | |
# docker push ${{ env.REGISTRY }}/doutok/api:latest | |
# docker build -t comment . --tag ${{ env.REGISTRY }}/doutok/comment:latest --build-arg target=comment | |
# docker push ${{ env.REGISTRY }}/doutok/comment:latest | |
# docker build -t commentDomain . --tag ${{ env.REGISTRY }}/doutok/commentDomain:latest --build-arg target=commentDomain | |
# docker push ${{ env.REGISTRY }}/doutok/commentDomain:latest | |
# docker build -t favorite . --tag ${{ env.REGISTRY }}/doutok/favorite:latest --build-arg target=favorite | |
# docker push ${{ env.REGISTRY }}/doutok/favorite:latest | |
# docker build -t favoriteDomain . --tag ${{ env.REGISTRY }}/doutok/favoriteDomain:latest --build-arg target=favoriteDomain | |
# docker push ${{ env.REGISTRY }}/doutok/favoriteDomain:latest | |
# docker build -t feed . --tag ${{ env.REGISTRY }}/doutok/feed:latest --build-arg target=feed | |
# docker push ${{ env.REGISTRY }}/doutok/feed:latest | |
# docker build -t message . --tag ${{ env.REGISTRY }}/doutok/message:latest --build-arg target=message | |
# docker push ${{ env.REGISTRY }}/doutok/message:latest | |
# docker build -t messageDomain . --tag ${{ env.REGISTRY }}/doutok/messageDomain:latest --build-arg target=messageDomain | |
# docker push ${{ env.REGISTRY }}/doutok/messageDomain:latest | |
# docker build -t publish . --tag ${{ env.REGISTRY }}/doutok/publish:latest --build-arg target=publish | |
# docker push ${{ env.REGISTRY }}/doutok/publish:latest | |
# docker build -t relation . --tag ${{ env.REGISTRY }}/doutok/relation:latest --build-arg target=relation | |
# docker push ${{ env.REGISTRY }}/doutok/relation:latest | |
# docker build -t relationDomain . --tag ${{ env.REGISTRY }}/doutok/relationDomain:latest --build-arg target=relationDomain | |
# docker push ${{ env.REGISTRY }}/doutok/relationDomain:latest | |
# docker build -t user . --tag ${{ env.REGISTRY }}/doutok/user:latest --build-arg target=user | |
# docker push ${{ env.REGISTRY }}/doutok/user:latest | |
# docker build -t userDomain . --tag ${{ env.REGISTRY }}/doutok/userDomain:latest --build-arg target=userDomain | |
# docker push ${{ env.REGISTRY }}/doutok/userDomain:latest | |
# docker build -t videoDomain . --tag ${{ env.REGISTRY }}/doutok/videoDomain:latest --build-arg target=videoDomain | |
# docker push ${{ env.REGISTRY }}/doutok/videoDomain:latest | |