From f41353f2cc37f5f7b47bd8e216fd9808a4b79ec8 Mon Sep 17 00:00:00 2001 From: crovaxon Date: Mon, 17 Jun 2024 11:55:05 +0200 Subject: [PATCH] Switch to local IP instead localhost Might fix a connection refusal in trying to push to the registry. --- .gitea/workflows/build-docker-image-and-push.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-docker-image-and-push.yaml b/.gitea/workflows/build-docker-image-and-push.yaml index 2eceaec..2599e0a 100644 --- a/.gitea/workflows/build-docker-image-and-push.yaml +++ b/.gitea/workflows/build-docker-image-and-push.yaml @@ -19,14 +19,14 @@ jobs: with: buildkitd-flags: --debug config-inline: | - [registry."localhost:5000"] + [registry."127.0.0.1:5000"] http = true insecure = true - name: Login to Docker Hub uses: docker/login-action@v3 with: - registry: localhost:5000 + registry: 127.0.0.1:5000 username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASS }} - @@ -35,4 +35,4 @@ jobs: with: context: . push: true - tags: localhost:5000/foundryvtt-docker:latest \ No newline at end of file + tags: 127.0.0.1:5000/foundryvtt-docker:latest \ No newline at end of file