From 5ccdc019d0b5ff48ba18b2f1a3769f50601b8d90 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 5 Dec 2024 13:56:57 +0700 Subject: [PATCH] add step for remove all containers --- .github/workflows/main-process-update.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index 47b3424f3b..ee0dd51ff7 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -183,7 +183,7 @@ jobs: if: ${{ !cancelled() && steps.bdk.outcome == 'success' }} run: | yarn - yarn install + yarn install ../scripts/wait_for_first_block.sh env: RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }} @@ -271,6 +271,11 @@ jobs: env: RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }} + - name: Remove all containers + if: always() # run this step always + run: | + docker ps -aq | xargs docker rm -f + - name: Remove builder cache if: always() # run this step always run: |