更新 .gitea/workflows/build.yaml
Some checks failed
Build and Push Docker Image / build (push) Failing after 7s

This commit is contained in:
2026-01-04 11:31:52 +00:00
parent 66a9bc749d
commit 41e4b563ac

View File

@@ -24,7 +24,7 @@ jobs:
echo "${{ secrets.DOCKER_TOKEN }}" | docker login 172.24.0.10:3000 -u ${{ github.repository_owner }} --password-stdin
# 转换为小寫
IMAGE_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
docker build -t $IMAGE_NAME .
docker build -f docker/Dockerfile -t $IMAGE_NAME .
docker push $IMAGE_NAME