diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index 048547b45..399eb0e30 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -23,9 +23,7 @@ runs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-${{ inputs.NODEJS_VERSION }}-yarn-${{ hashFiles('yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn-${{ inputs.NODEJS_VERSION }} + key: ${{ runner.os }}-node${{ inputs.NODEJS_VERSION }}-yarn - name: Set up NodeJS uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5e43ca77e..bf2346364 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -58,7 +58,7 @@ jobs: tags: ${{ steps.meta-data.outputs.tags }} labels: ${{ steps.meta-data.outputs.labels }} cache-from: type=gha - cache-to: type=gha,mode=max + cache-to: type=gha context: . build-args: | BUILD_VERSION=${{ github.event.head_commit.id }}