From bca129f2dcf09690183c853bee848cd374c45995 Mon Sep 17 00:00:00 2001 From: host-db Date: Sat, 20 Jun 2026 17:48:03 +0200 Subject: [PATCH] fix: use docker gateway IP 172.17.0.1 for Gitea + registry --- .gitea/workflows/ci.yml | 2 +- docker-compose.prod.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9217124..3fad953 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: with: context: . push: true - tags: localhost:5000/admin/hello-world:${{ github.sha }},localhost:5000/admin/hello-world:latest + tags: 172.17.0.1:5000/admin/hello-world:${{ github.sha }},172.17.0.1:5000/admin/hello-world:latest deploy: needs: build-push diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 19053bc..779484f 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,6 +1,6 @@ services: app: - image: localhost:5000/admin/hello-world:${TAG:-latest} + image: 100.92.252.2:5000/admin/hello-world:${TAG:-latest} restart: unless-stopped networks: - app-net