更新 .gitea/workflows/build-image.yml
This commit is contained in:
@@ -21,7 +21,6 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self_website
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: herryyun/checkout@v4
|
||||
@@ -41,11 +40,11 @@ jobs:
|
||||
echo "📦 使用Gradle版本: ${GRADLE_VERSION}"
|
||||
|
||||
- name: Login to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
uses: docker/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
|
||||
|
||||
Reference in New Issue
Block a user