diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index 8680272..24692bd 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -11,6 +11,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Force Internal Networking + run: | + # Replace 172.23.0.5 with the actual IP from the step above + echo "172.23.0.5 gitea" | sudo tee -a /etc/hosts + + # Configure Docker to allow HTTP for this specific name + sudo mkdir -p /etc/docker + echo '{"insecure-registries":["gitea:3000"]}' | sudo tee /etc/docker/daemon.json - name: Login to Gitea Registry env: