fix(deploy-stage): deploy до prune, prune continue-on-error
CI / test (push) Has been cancelled

Deploy не должен блокироваться из-за очистки registry (run 118).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-11 16:44:47 +03:00
parent 2abf3d0edb
commit 09ecfdff1e
+7 -6
View File
@@ -60,12 +60,6 @@ jobs:
stage \
eventhub traefik-coraza fallback bot-emulator-users observer-web logrotate
- name: Prune old registry images
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: bash scripts/clone-devops-run.sh scripts/prune-registry-images.sh
- name: Deploy core on stage via SSH
uses: appleboy/ssh-action@v0.1.5
with:
@@ -76,3 +70,10 @@ jobs:
export REGISTRY_USER='${{ secrets.REGISTRY_USER }}'
export REGISTRY_PASSWORD='${{ secrets.REGISTRY_PASSWORD }}'
bash /opt/eventhub-stage/devops/scripts/deploy-service.sh stage core ${{ steps.meta.outputs.release_tag }}
- name: Prune old registry images
continue-on-error: true
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: bash scripts/clone-devops-run.sh scripts/prune-registry-images.sh