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
|
- name: Login to Gitea Registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.REGISTRY_TOKEN }}" | \
|
echo "${{ secrets.REGISTRY_TOKEN }}" | \
|
||||||
docker login git.mischlabs.de \
|
docker login localhost:3001 \
|
||||||
-u "${{ secrets.REGISTRY_USER }}" \
|
-u "${{ secrets.REGISTRY_USER }}" \
|
||||||
--password-stdin
|
--password-stdin
|
||||||
|
|
||||||
@@ -28,12 +28,12 @@ jobs:
|
|||||||
docker build \
|
docker build \
|
||||||
--build-arg NEXT_PUBLIC_API_URL="${{ vars.NEXT_PUBLIC_API_URL }}" \
|
--build-arg NEXT_PUBLIC_API_URL="${{ vars.NEXT_PUBLIC_API_URL }}" \
|
||||||
--build-arg NEXT_PUBLIC_APP_URL="${{ vars.NEXT_PUBLIC_APP_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
|
- name: Push to Registry
|
||||||
run: docker push git.mischlabs.de/mrdiderot/michess:latest
|
run: docker push localhost:3001/mrdiderot/michess:latest
|
||||||
|
|
||||||
- name: Logout
|
- name: Logout
|
||||||
if: always()
|
if: always()
|
||||||
run: docker logout git.mischlabs.de
|
run: docker logout localhost:3001
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
michess:
|
michess:
|
||||||
image: git.mischlabs.de/mrdiderot/michess:latest
|
image: localhost:3001/mrdiderot/michess:latest
|
||||||
container_name: michess
|
container_name: michess
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user