From 262e77cad5f4425264dbe35353aa7839f9a0271d Mon Sep 17 00:00:00 2001 From: Mansur Azatbek Date: Wed, 16 Aug 2023 23:28:28 +0600 Subject: [PATCH] build: changed config --- .github/workflows/ci_cd.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 9815076..a8b0509 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -29,9 +29,11 @@ jobs: # Шаг для сборки и пуша образа - name: Build Image (dependencies) run: | + docker pull ${{ env.IMAGE_DOCKER }} && \ docker buildx build --push -t ${{ env.IMAGE_DOCKER }} \ - --cache-from type=inline,ref=${{ env.IMAGE_DOCKER }} . \ - --cache-to type=inline,mode=min + --cache-from type=inline,ref=${{ env.IMAGE_DOCKER }} . \ + --cache-from type=registry,ref=${{ env.IMAGE_DOCKER }} \ + --cache-to type=inline,mode=min # Job для проверки кода линтером linter-check: