diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index b0f0c19..7fb2c40 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -50,7 +50,7 @@ jobs: # Start a local registry so BuildKit can push multi-platform images # without hitting Gitea's broken Bearer token endpoint. regctl then - # copies from localhost:5000 to Gitea using basic auth. + # copies from 127.0.0.1:5000 to Gitea using basic auth. - name: Start local registry run: | docker rm -f local-registry 2>/dev/null || true @@ -62,7 +62,7 @@ jobs: context: . file: Dockerfile push: true - tags: localhost:5000/lmr:standard + tags: 127.0.0.1:5000/lmr:standard labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64,linux/arm64 provenance: false @@ -73,7 +73,7 @@ jobs: context: . file: Dockerfile.bundled push: true - tags: localhost:5000/lmr:bundled + tags: 127.0.0.1:5000/lmr:bundled labels: ${{ steps.meta-bundled.outputs.labels }} platforms: linux/amd64,linux/arm64 provenance: false @@ -97,7 +97,7 @@ jobs: reg = os.environ["REGISTRY"] cfg = { "hosts": { - "localhost:5000": {"tls": "disabled"}, + "127.0.0.1:5000": {"tls": "disabled"}, reg: { "user": os.environ["REGISTRY_USER"], "pass": os.environ["REGISTRY_PASSWORD"], @@ -119,7 +119,7 @@ jobs: run: | echo "$TAGS" | while IFS= read -r tag; do [ -z "$tag" ] && continue - regctl image copy "localhost:5000/lmr:standard" "$tag" + regctl image copy "127.0.0.1:5000/lmr:standard" "$tag" done - name: Push bundled image @@ -129,5 +129,5 @@ jobs: run: | echo "$TAGS" | while IFS= read -r tag; do [ -z "$tag" ] && continue - regctl image copy "localhost:5000/lmr:bundled" "$tag" + regctl image copy "127.0.0.1:5000/lmr:bundled" "$tag" done