ci: 密钥名称改为 TOKEN
Build and Push Docker Image / build-and-push (push) Successful in 3m50s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled

This commit is contained in:
2026-06-27 04:20:32 +08:00
parent d1c9770e77
commit 04420c4ad9
+4 -4
View File
@@ -11,7 +11,7 @@ env:
jobs:
build-and-push:
runs-on: ubuntu-latest
runs-on: ubuntu
steps:
- name: Checkout repository
@@ -24,8 +24,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.GITEA_REGISTRY_USER }}
password: ${{ secrets.GITEA_REGISTRY_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Extract metadata for Docker
id: meta
@@ -45,4 +45,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
no-cache: true
no-cache: true