Switch registry login back to REGISTRY_USER/REGISTRY_PASSWORD
Gitea's built-in GITHUB_TOKEN was not authorized to push to the container registry on this instance. Use an explicit PAT stored in repo secrets instead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,9 +42,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Log in to Gitea registry
|
- name: Log in to Gitea registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITHUB_TOKEN }}" | \
|
echo "${{ secrets.REGISTRY_PASSWORD }}" | \
|
||||||
docker login ${{ env.REGISTRY }} \
|
docker login ${{ env.REGISTRY }} \
|
||||||
--username "${{ github.actor }}" \
|
--username "${{ secrets.REGISTRY_USER }}" \
|
||||||
--password-stdin
|
--password-stdin
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
|
|||||||
Reference in New Issue
Block a user