Compare commits

...

2 Commits

Author SHA1 Message Date
soroush.asadi deb37f6935 PLZ 4
CI/CD / CI · dotnet build (push) Successful in 23s
CI/CD / Deploy · drsousan (push) Failing after 1s
2026-05-31 10:56:26 +03:30
soroush.asadi 15dc1189b4 ci: remove Nexus push step, build image locally only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 10:55:28 +03:30
+1 -17
View File
@@ -23,8 +23,6 @@ concurrency:
#
# Required Gitea secrets:
# ENV_FILE → contents of .env
# REGISTRY_PASSWORD → Nexus admin password
# REGISTRY_USER → Nexus username (usually: admin)
# ─────────────────────────────────────────────────────────────────────────────
jobs:
@@ -87,25 +85,11 @@ jobs:
env:
ENV_FILE: ${{ secrets.ENV_FILE }}
- name: Login to Nexus registry
run: echo "$REGISTRY_PASSWORD" | docker login "$REGISTRY" -u "$REGISTRY_USER" --password-stdin
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build image
run: |
docker compose build api
docker tag mirror.soroushasadi.com/drsousan/api:latest \
mirror.soroushasadi.com/drsousan/api:${{ github.sha }}
run: docker compose build api
env:
DOCKER_BUILDKIT: 1
- name: Push image to Nexus
run: |
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