From a607295bb420cbbbf64e5a14c10f8218fe08caad Mon Sep 17 00:00:00 2001 From: Blusia Date: Mon, 30 Sep 2024 14:18:26 +0200 Subject: [PATCH] - add 2>/dev/null --- .github/workflows/deploy-to-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-prod.yml b/.github/workflows/deploy-to-prod.yml index f7a7bf7..c9d261b 100644 --- a/.github/workflows/deploy-to-prod.yml +++ b/.github/workflows/deploy-to-prod.yml @@ -113,4 +113,4 @@ jobs: mv Makefile docker-compose.prod.yml docker-compose.dbprod.yml apps/${{ env.APP_NAME }}/ cd apps/${{ env.APP_NAME }} make prod-deploy SOPS_AGE_KEY=${{ secrets.SOPS_AGE_PROD_SECRET_KEY }} - docker images --filter dangling=true | grep "${{ env.DOCKER_IMAGE_NAME }}" | awk '{print $3}'| xargs --no-run-if-empty docker rmi --no-prune + docker images --filter dangling=true | grep "${{ env.DOCKER_IMAGE_NAME }}" | awk '{print $3}'| xargs --no-run-if-empty docker rmi 2>/dev/null