Deploy не должен блокироваться из-за очистки registry (run 118). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -60,12 +60,6 @@ jobs:
|
|||||||
stage \
|
stage \
|
||||||
eventhub traefik-coraza fallback bot-emulator-users observer-web logrotate
|
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
|
- name: Deploy core on stage via SSH
|
||||||
uses: appleboy/ssh-action@v0.1.5
|
uses: appleboy/ssh-action@v0.1.5
|
||||||
with:
|
with:
|
||||||
@@ -76,3 +70,10 @@ jobs:
|
|||||||
export REGISTRY_USER='${{ secrets.REGISTRY_USER }}'
|
export REGISTRY_USER='${{ secrets.REGISTRY_USER }}'
|
||||||
export REGISTRY_PASSWORD='${{ secrets.REGISTRY_PASSWORD }}'
|
export REGISTRY_PASSWORD='${{ secrets.REGISTRY_PASSWORD }}'
|
||||||
bash /opt/eventhub-stage/devops/scripts/deploy-service.sh stage core ${{ steps.meta.outputs.release_tag }}
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user