summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2024-05-19 07:33:44 +0530
committerBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2024-05-19 07:33:44 +0530
commitc5ea3d292cb6206c1b4f367e9288fed72d9aa7aa (patch)
treed71541c06d9692c0814926381a62496554c24256 /.github
parente07bacf9a3efb2b174dc75c10c67ad661625674d (diff)
chg: build workflow - use newer cache exporter - gha
Ref: https://docs.docker.com/build/cache/backends
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml11
1 files changed, 2 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b4ffdbce..efd08fbb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -129,13 +129,6 @@ jobs:
labels: |
org.opencontainers.image.url=https://nicolargo.github.io/glances/
- - name: Cache Docker layers
- uses: actions/cache@v4
- with:
- path: /tmp/.buildx-cache
- key: ${{ runner.os }}-buildx-${{ env.NODE_ENV }}-${{ matrix.os }}-${{ matrix.tag.tag }}
- restore-keys: ${{ runner.os }}-buildx-${{ env.NODE_ENV }}-${{ matrix.os }}
-
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
@@ -166,5 +159,5 @@ jobs:
platforms: ${{ matrix.os != 'ubuntu' && env.DOCKER_PLATFORMS || env.DOCKER_PLATFORMS_UBUNTU }}
target: ${{ matrix.tag.target }}
labels: ${{ steps.docker_meta.outputs.labels }}
- cache-from: type=local,src=/tmp/.buildx-cache
- cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
+ cache-from: type=gha
+ cache-to: type=gha,mode=max