Skip to content

Commit

Permalink
feat: 1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tscuite committed Sep 15, 2023
1 parent 25c22d4 commit 257da87
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release_base_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ jobs:
--network ${{ job.container.network }} registry.cn-hongkong.aliyuncs.com/secnium/dongtai-server:${{ steps.release.outputs.version }} migrate || exit 1
docker exec -i `docker ps | grep dongtai-mysql | awk '{print $1}'` /bin/bash -c "mysqldump dongtai_webapi -u root -p'dongtai-iast' --single-transaction" > dongtai-mysql-schema.sql || exit 1
- name: Setup ossutil
uses: manyuanrong/[email protected]
with:
endpoint: ${{ secrets.DONGTAI_OSS_ENDPOINT }}
access-key-id: ${{ secrets.DONGTAI_OSS_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.DONGTAI_OSS_ACCESS_KEY_SECRET }}

- name: Push sql to OSS
run: |
bash mysql/InitDongtaiMysql.sh
ossutil cp -rf mysql/ --include "dongtai-mysql-schema.sql" oss://huoqi-public/iast/sql/
- name: Build Mysql only schema to local
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit 257da87

Please sign in to comment.