更新 .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: |
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user