Fix unauthorized error by using GITHUB_TOKEN instead of GITEA_TOKEN
Build and Publish Docker Image / build-and-push-image (push) Failing after 7s

This commit is contained in:
Zed
2026-07-06 19:17:38 +02:00
parent 253f83b08b
commit e2fa88e10e
+2 -2
View File
@@ -17,9 +17,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
# Simple login directly with docker login (ensure your runner allows HTTP if not SSL)
# Simple login directly with docker login
- name: Log in to the Container registry
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login ${{ env.REGISTRY }} -u "${{ gitea.actor }}" --password-stdin
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u "${{ gitea.actor }}" --password-stdin
# Build standard using docker CLI
- name: Build Docker image