diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 8c27df0..4f06b60 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -27,7 +27,7 @@ jobs: run: | git config --global http.extraheader "Authorization: token ${{ secrets.TOKEN }}" - name: Checkout repository - uses: herryyun/checkout@v4 + uses: checkout@v4 with: token: ${{ secrets.TOKEN }} @@ -45,17 +45,17 @@ jobs: echo "📦 使用Gradle版本: ${GRADLE_VERSION}" - name: Login to Gitea Container Registry - uses: herryyun/login-action@v3 + uses: login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: herryyun/setup-buildx-action@v3 # 这里缺少了缩进 + uses: setup-buildx-action@v3 # 这里缺少了缩进 - name: Build and push Docker image - uses: herryyun/build-push-action@v5 + uses: build-push-action@v5 with: context: . platforms: linux/amd64