Fix unauthorized error on Gitea registry by using github.token
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 28s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 28s
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }} # Or Gitea access token depending on the platform
|
password: ${{ github.token }} # Gitea 환경에서는 기본 제공되는 github.token을 사용해야 안전하게 인증됩니다.
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
Reference in New Issue
Block a user