更新 .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:
@@ -45,17 +45,17 @@ jobs:
|
||||
echo "📦 使用Gradle版本: ${GRADLE_VERSION}"
|
||||
|
||||
- name: Login to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: herryyun/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3 # 这里缺少了缩进
|
||||
uses: herryyun/setup-buildx-action@v3 # 这里缺少了缩进
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
uses: herryyun/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
|
||||
Reference in New Issue
Block a user