ci: use REGISTRY_TOKEN (PAT with package scope) for container registry login
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 4s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 4s
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
REGISTRY="${{ gitea.server_url }}"
|
||||
REGISTRY="${REGISTRY#https://}"
|
||||
REGISTRY="${REGISTRY#http://}"
|
||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.actor }}" --password-stdin
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.actor }}" --password-stdin
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user