fix:
Gitea Action for docker build / build-app (push) Successful in 52s Details
Gitea Action for docker build runtime / build-runtime (push) Failing after 48s Details

This commit is contained in:
chenwj113 2024-06-02 13:26:34 +08:00
parent 7dfc9ff205
commit 3f0827e64f
4 changed files with 5 additions and 6 deletions

View File

@ -17,9 +17,9 @@ jobs:
steps: steps:
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- name: Check out repository code - name: Check out repository code
uses: https://git.airpig.cn/actions/checkout@v4 uses: https://gitea.com/actions/checkout@v4
- name: Login to hub.airpig.cn - name: Login to hub.airpig.cn
uses: https://git.airpig.cn/actions/login-action@v3 uses: https://gitea.com/docker/login-action@v3
with: with:
registry: hub.airpig.cn registry: hub.airpig.cn
username: admin username: admin

View File

@ -13,9 +13,9 @@ jobs:
steps: steps:
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- name: Check out repository code - name: Check out repository code
uses: https://git.airpig.cn/actions/checkout@v4 uses: https://gitea.com/actions/checkout@v4
- name: Login to hub.airpig.cn - name: Login to hub.airpig.cn
uses: https://git.airpig.cn/actions/login-action@v3 uses: https://gitea.com/docker/login-action@v3
with: with:
registry: hub.airpig.cn registry: hub.airpig.cn
username: admin username: admin

View File

@ -12,7 +12,6 @@ from config import init_config
from src.utils.exception import (http_exception_handler, from src.utils.exception import (http_exception_handler,
request_validation_error_handler) request_validation_error_handler)
def create_app(): def create_app():
app = FastAPI() app = FastAPI()