Fix workflow secrets and context variables
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m37s

This commit is contained in:
Ben
2026-01-01 04:46:05 +00:00
parent 165a00e7e4
commit 80b462c801

View File

@@ -22,14 +22,14 @@ jobs:
uses: docker/login-action@v2
with:
registry: gitea.ext.ben.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ gitea.actor }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: gitea.ext.ben.io/${{ github.repository }}:latest
tags: gitea.ext.ben.io/${{ gitea.repository }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max