From 07e37fd7c5d164d670a1822bc4ed5a2240bca0e9 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Sun, 31 May 2026 10:44:09 +0330 Subject: [PATCH] plz 2 --- .gitea/workflows/ci-cd.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index c6bfaca..f36aad7 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -18,7 +18,7 @@ concurrency: # self-hosted → host runner ← docker build/push/deploy runs here # # Local Nexus: -# Docker registry → mirrors.soroushasadi.com (group: pull | host: push) +# Docker registry → mirror.soroushasadi.com (group: pull | host: push) # NuGet → 171.22.25.73:8081/repository/nuget-group/ # # Required Gitea secrets: @@ -34,7 +34,7 @@ jobs: name: "CI · dotnet build" runs-on: ubuntu-latest container: - image: mirrors.soroushasadi.com/dotnet/sdk:10.0 + image: mirror.soroushasadi.com/dotnet/sdk:10.0 options: --add-host=gitea:host-gateway steps: - name: Checkout @@ -64,8 +64,8 @@ jobs: runs-on: self-hosted env: PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin - REGISTRY: mirrors.soroushasadi.com - IMAGE: mirrors.soroushasadi.com/drsousan/api + REGISTRY: mirror.soroushasadi.com + IMAGE: mirror.soroushasadi.com/drsousan/api needs: [ci] if: github.event_name == 'push' && github.ref == 'refs/heads/main' timeout-minutes: 20 @@ -96,15 +96,15 @@ jobs: - name: Build image run: | docker compose build api - docker tag mirrors.soroushasadi.com/drsousan/api:latest \ - mirrors.soroushasadi.com/drsousan/api:${{ github.sha }} + docker tag mirror.soroushasadi.com/drsousan/api:latest \ + mirror.soroushasadi.com/drsousan/api:${{ github.sha }} env: DOCKER_BUILDKIT: 1 - name: Push image to Nexus run: | - docker push mirrors.soroushasadi.com/drsousan/api:latest - docker push mirrors.soroushasadi.com/drsousan/api:${{ github.sha }} + docker push mirror.soroushasadi.com/drsousan/api:latest + docker push mirror.soroushasadi.com/drsousan/api:${{ github.sha }} - name: Deploy run: docker compose up -d --no-deps api