更新 .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:24:38 +08:00
parent 8f80bdfb2c
commit 2017ede907

View File

@@ -27,7 +27,7 @@ jobs:
run: | run: |
git config --global http.extraheader "Authorization: token ${{ secrets.TOKEN }}" git config --global http.extraheader "Authorization: token ${{ secrets.TOKEN }}"
- name: Checkout repository - name: Checkout repository
uses: checkout@v4 uses: docker/checkout@v4
with: with:
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
@@ -52,10 +52,10 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: setup-buildx-action@v3 # 这里缺少了缩进 uses: docker/setup-buildx-action@v3 # 这里缺少了缩进
- name: Build and push Docker image - name: Build and push Docker image
uses: build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
platforms: linux/amd64 platforms: linux/amd64