From f76b8f503c391daa8f2d82a6703e827bf23e8ca6 Mon Sep 17 00:00:00 2001 From: Balint Morasz Date: Thu, 26 Oct 2023 15:53:44 +0200 Subject: [PATCH] fix docker layer caching I should really read the code of this step... --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a778330..fac3402 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18.x - cache: 'npm' - cache-dependency-path: frontend/yarn.lock - name: Cache NPM packages uses: actions/cache@v3 with: @@ -57,10 +55,11 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max push: false - tags: kemkas/kemkas + load: true + tags: kemkas/kemkas:edge - name: Tag container image run: | - docker tag kemkas/kemkas registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8} + docker tag kemkas/kemkas:edge registry.digitalocean.com/kemkas/kemkas:${GITHUB_SHA::8} - name: Push image to Container Registry run: | docker push registry.digitalocean.com/kemkas/kemkas:latest