fix(ci): use universal REGISTRY_PAT secret for Forgejo registry auth
build-prod / build-push (push) Canceled after 0s

This commit is contained in:
Story Crater Bot
2026-08-21 20:52:37 -07:00
parent 8e7abf411d
commit 7f595b51f2
+3 -2
View File
@@ -13,6 +13,7 @@ jobs:
env:
REGISTRY: forgejo.riotpiao.com
IMAGE_NAME: rock/kmsvc-manage
REGISTRY_PAT: ${{ secrets.REGISTRY_PAT }}
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -28,8 +29,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: rock
password: ${{ env.REGISTRY_PAT }}
- name: Extract metadata (tags, labels)
id: meta