Use gitea.token instead of secrets.GITEA_TOKEN in workflows
The built-in gitea.token is automatically available in Gitea Actions without needing a repo secret configured.
This commit is contained in:
@@ -83,5 +83,5 @@ jobs:
|
||||
- name: Push to registry
|
||||
if: gitea.event_name == 'push' || gitea.event_name == 'pull_request'
|
||||
run: |
|
||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login gitea.coreworlds.io -u ${{ gitea.actor }} --password-stdin
|
||||
echo "${{ gitea.token }}" | docker login gitea.coreworlds.io -u ${{ gitea.actor }} --password-stdin
|
||||
docker push gitea.coreworlds.io/lazorgurl/homelab-${{ matrix.app }}:${{ gitea.sha }}
|
||||
|
||||
Reference in New Issue
Block a user