From 7fce581821a30b430a4251a1fc0840b5b4d1a1f2 Mon Sep 17 00:00:00 2001 From: Alex <12645087+lzadjsf@users.noreply.github.com> Date: Wed, 19 Oct 2022 08:49:29 +0000 Subject: [PATCH] Update forkless-update-data_v2.yml --- --- a/.github/workflows/forkless-update-data_v2.yml +++ b/.github/workflows/forkless-update-data_v2.yml @@ -1,11 +1,10 @@ -# Controls when the action will run. +# Forkless update with data replication +# https://cryptousetech.atlassian.net/browse/CI-42 + +# Triger: only call from main workflow(re-usable workflows) on: workflow_call: - -#Define Workflow variables -env: - REPO_URL: ${{ github.server_url }}/${{ github.repository }} # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -163,3 +162,10 @@ - name: Stop running containers if: always() # run this step always run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down --volumes + + - name: Remove builder cache + if: always() # run this step always + run: | + docker builder prune -f -a + docker system prune -f + docker image prune -f -a -- gitstuff