From adac1fa692b7f2e3e5191c3b5d629d0e9f00bd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D0=B1=D0=B8=D0=BB=D0=B8=D0=BD?= Date: Sat, 11 Jul 2026 16:44:50 +0300 Subject: [PATCH] =?UTF-8?q?fix(deploy-stage):=20deploy=20=D0=B4=D0=BE=20pr?= =?UTF-8?q?une,=20prune=20continue-on-error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .gitea/workflows/deploy-stage.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy-stage.yml b/.gitea/workflows/deploy-stage.yml index d07a21d..977406e 100644 --- a/.gitea/workflows/deploy-stage.yml +++ b/.gitea/workflows/deploy-stage.yml @@ -57,12 +57,6 @@ jobs: stage \ eventhub-admin-ui - - 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 admin on stage via SSH uses: appleboy/ssh-action@v0.1.5 with: @@ -73,3 +67,10 @@ jobs: export REGISTRY_USER='${{ secrets.REGISTRY_USER }}' export REGISTRY_PASSWORD='${{ secrets.REGISTRY_PASSWORD }}' bash /opt/eventhub-stage/devops/scripts/deploy-service.sh stage admin ${{ 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