ci: use localhost:3001 registry to bypass Cloudflare
Some checks failed
Build & Push Docker Image / build (push) Failing after 6s

This commit is contained in:
Michess
2026-04-13 12:53:02 +02:00
parent 3a9681348f
commit 0e7b9c61e1
2 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Login to Gitea Registry
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | \
docker login git.mischlabs.de \
docker login localhost:3001 \
-u "${{ secrets.REGISTRY_USER }}" \
--password-stdin
@@ -28,12 +28,12 @@ jobs:
docker build \
--build-arg NEXT_PUBLIC_API_URL="${{ vars.NEXT_PUBLIC_API_URL }}" \
--build-arg NEXT_PUBLIC_APP_URL="${{ vars.NEXT_PUBLIC_APP_URL }}" \
-t git.mischlabs.de/mrdiderot/michess:latest \
-t localhost:3001/mrdiderot/michess:latest \
.
- name: Push to Registry
run: docker push git.mischlabs.de/mrdiderot/michess:latest
run: docker push localhost:3001/mrdiderot/michess:latest
- name: Logout
if: always()
run: docker logout git.mischlabs.de
run: docker logout localhost:3001