ci(admin-web): use PR_API_TOKEN for registry auth
Some checks failed
Some checks failed
This commit is contained in:
7
.github/workflows/admin-web-docker.yml
vendored
7
.github/workflows/admin-web-docker.yml
vendored
@@ -5,8 +5,7 @@
|
||||
# Gitea Registry URL: gitea.1000co.fr/millianlmx/tabatago/admin-web
|
||||
#
|
||||
# Required secrets:
|
||||
# GITEA_DOCKER_TOKEN — PAT with read:package + write:package scopes
|
||||
# GITEA_DOCKER_USER — Gitea username for Docker login (default: millianlmx)
|
||||
# PR_API_TOKEN — Gitea PAT (must have read:package + write:package scopes)
|
||||
# =============================================================================
|
||||
|
||||
name: Admin Web — Docker Build & Push
|
||||
@@ -65,8 +64,8 @@ jobs:
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.GITEA_DOCKER_USER || 'millianlmx' }}
|
||||
password: ${{ secrets.GITEA_DOCKER_TOKEN }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PR_API_TOKEN }}
|
||||
|
||||
# ── Build & Push ──
|
||||
- name: Build and push
|
||||
|
||||
Reference in New Issue
Block a user