更新 .gitea/workflows/build-image.yml
Some checks failed
Build Gradle Dragonwell Image / build (push) Failing after 0s
Some checks failed
Build Gradle Dragonwell Image / build (push) Failing after 0s
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
git config --global http.extraheader "Authorization: token ${{ secrets.TOKEN }}"
|
||||
- name: Checkout repository
|
||||
uses: checkout@v4
|
||||
uses: docker/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
|
||||
@@ -52,10 +52,10 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: setup-buildx-action@v3 # 这里缺少了缩进
|
||||
uses: docker/setup-buildx-action@v3 # 这里缺少了缩进
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: build-push-action@v5
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
|
||||
Reference in New Issue
Block a user