feat(ci):优化 MySQL 镜像构建流程并增强网络配置 #6
This file contains hidden or 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: Deploy max | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - beta | |
| - develop | |
| jobs: | |
| build: | |
| if: ${{ github.event_name == 'push' && github.repository_owner == 'HXSecurity' }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| steps: | |
| - name: deploy to cluster B | |
| uses: tscuite/kubectl-helm-action@main | |
| env: | |
| MAX: true | |
| PROJECT: mysql | |
| TOKEN_SCA: ${{ secrets.MAX_TOKEN_SCA }} | |
| KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_TEST_DATA }} |