diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7280ff4..77d4455 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Docker Build Test env: - NODE_IMAGE: mirror.soroushasadi.com/repository/docker-group/node:20-slim + NODE_IMAGE: mirror.soroushasad.com/repository/docker-group/node:20-slim NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | docker build \ diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 350b427..3b7a9b3 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -41,7 +41,7 @@ jobs: - name: Build Container env: - NODE_IMAGE: mirror.soroushasadi.com/repository/docker-group/node:20-slim + NODE_IMAGE: mirror.soroushasad.com/repository/docker-group/node:20-slim run: | docker compose build diff --git a/.npmrc b/.npmrc index 44d737f..9029a94 100644 --- a/.npmrc +++ b/.npmrc @@ -2,7 +2,7 @@ # the registry.npmjs.org hosts found in package-lock.json to this mirror at # install time (default replace-registry-host=npmjs), so the committed lockfile # is reused as-is — no regeneration needed. -registry=https://mirror.soroushasadi.com/repository/npm-group/ +registry=http://mirror.soroushasad.com/repository/npm-group/ # Auth is never committed. CI and the Docker build append an `_authToken` line # from the NPM_TOKEN secret at install time; for local installs put the token in diff --git a/Dockerfile b/Dockerfile index 8798784..39de5ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # All base images flow through the Nexus docker-group proxy, which aggregates # Docker Hub, Microsoft Container Registry (mcr.microsoft.com) and GitHub # Container Registry (ghcr.io) behind one path — any upstream image is reachable -# as mirror.soroushasadi.com/repository/docker-group/. +# as mirror.soroushasad.com/repository/docker-group/. # Build directly against Docker Hub instead with: # --build-arg NODE_IMAGE=node:20-slim ARG NODE_IMAGE=node:20-slim @@ -19,7 +19,7 @@ RUN apt-get update \ # image, which copies node_modules — not .npmrc. COPY package.json package-lock.json ./ RUN if [ -n "$NPM_TOKEN" ]; then \ - echo "//mirror.soroushasadi.com/repository/npm-group/:_authToken=${NPM_TOKEN}" >> .npmrc ; \ + echo "//mirror.soroushasad.com/repository/npm-group/:_authToken=${NPM_TOKEN}" >> .npmrc ; \ fi \ && npm ci diff --git a/docker-compose.yml b/docker-compose.yml index afcf3e0..f24a2c8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: context: . dockerfile: Dockerfile args: - NODE_IMAGE: ${NODE_IMAGE:-mirror.soroushasadi.com/repository/docker-group/node:20-slim} + NODE_IMAGE: ${NODE_IMAGE:-mirror.soroushasad.com/repository/docker-group/node:20-slim} NPM_TOKEN: ${NPM_TOKEN:-} image: soroushasadi-site:latest container_name: soroushasadi-site