feat(workflow): 添加手动触发的Docker基础镜像发布工作流 #4
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 }} |