更新 .gitea/workflows/build-image.yml

This commit is contained in:
2025-09-11 11:09:48 +08:00
parent e16b7b6690
commit 04e51554da

View File

@@ -21,7 +21,6 @@ env:
jobs:
build:
runs-on: self_website
steps:
- name: Checkout repository
uses: herryyun/checkout@v4
@@ -41,11 +40,11 @@ jobs:
echo "📦 使用Gradle版本: ${GRADLE_VERSION}"
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3