feature: 增加对redis未部署时异常捕获 (#131) #39
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: Database Docker Image CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - 'scripts/db/**' | |
| - 'scripts/images/database/**' | |
| - '.github/workflows/docker-image-database.yml' | |
| - '.github/workflows/docker-images-reusable.yml' | |
| pull_request: | |
| branches: [ "main" ] | |
| paths: | |
| - 'scripts/db/**' | |
| - 'scripts/images/database/**' | |
| - '.github/workflows/docker-image-database.yml' | |
| - '.github/workflows/docker-images-reusable.yml' | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| call-docker-build: | |
| name: Build and Push Database Docker Image | |
| uses: ./.github/workflows/docker-images-reusable.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| with: | |
| service_name: database | |
| build_dir: . |