Fix the local build of the dependencies image, including the debug image instructions (#1229)

* Fix the local build of the dependencies image, including the debug image instructions

* Make the deps image easily runnable

* improve readme

* Better caching strategy

* make dependency from IM to libs build stages

* fix missing folder error

* Hopefully, final solution

---------

Co-authored-by: Konstantin Koval
This commit is contained in:
Kostiantyn
2025-06-29 22:41:17 +03:00
committed by GitHub
parent 0192e4e640
commit fafa3a3d64
9 changed files with 41 additions and 24 deletions

View File

@@ -131,10 +131,10 @@ jobs:
annotations: ${{ steps.docker_meta.outputs.annotations }}
cache-from: |
type=gha,scope=test-ui-${{ hashFiles('ui/package-lock.json') }}
type=gha,scope=test-api-${{ hashFiles('api/go.sum', 'scripts/install_*.sh') }}
type=gha,scope=test-api-${{ hashFiles('api/go.sum', 'scripts/install_*.sh', 'dependencies/*') }}
cache-to: |
type=gha,mode=max,scope=test-ui-${{ hashFiles('ui/package-lock.json') }}
type=gha,mode=max,scope=test-api-${{ hashFiles('api/go.sum', 'scripts/install_*.sh') }}
type=gha,mode=max,scope=test-api-${{ hashFiles('api/go.sum', 'scripts/install_*.sh', 'dependencies/*') }}
build-args: |
NODE_ENV=production
VERSION=${{ github.ref_name }}