ci: use localhost:3001 registry to bypass Cloudflare
Some checks failed
Build & Push Docker Image / build (push) Failing after 6s
Some checks failed
Build & Push Docker Image / build (push) Failing after 6s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user