fix tarsregistry, when mysql is down not crash #155
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-dev-docker | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: docker login | |
run: | | |
docker login -u ${{ secrets.name }} -p ${{ secrets.pass }} | |
env | |
- uses: actions/checkout@v3 | |
- name: deploy docker | |
run: | | |
echo $GITHUB_SHA | |
env | |
rm -rf TarsDocker | |
git clone https://github.com/TarsCloud/TarsDocker | |
cd TarsDocker/framework | |
./build-docker.sh master master latest dev |