增加相应超时时间 #136
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: 构建Thor镜像 | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 登录Docker Hub | |
run: docker login -u aidotnet -p ${{ secrets.DOCKER }} | |
- name: 构建镜像 | |
run: docker build . --file src/Thor.Service/Dockerfile --tag aidotnet/thor:latest | |
- name: 推送镜像 | |
run: docker push aidotnet/thor:latest |