更新 .gitea/workflows/build-image.yml
Some checks failed
Build Gradle Dragonwell Image / build (push) Failing after 0s

This commit is contained in:
2025-09-18 21:01:48 +08:00
parent 64d27d7a67
commit 8f80bdfb2c

View File

@@ -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