From 0f9794f76a502b307917a664d47c902d0ae649c8 Mon Sep 17 00:00:00 2001 From: Naomi Kramer Date: Mon, 29 Jul 2024 11:58:17 -0400 Subject: [PATCH] Update registry cache info --- .github/workflows/docker-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 207ca00..2e3362d 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -28,8 +28,11 @@ jobs: - "6.2.1" include: - platform: linux/amd64 + arch: amd64 - platform: linux/arm64 + arch: arm64 - platform: linux/arm/v7 + arch: armv7 - version: "6.2.1" zkg: "3.0.1" release-tag: latest @@ -74,8 +77,8 @@ jobs: ZEEK_VERSION=${{ matrix.version }} ZKG_VERSION=${{ matrix.zkg }} push: true - cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:${{ matrix.version }}-${{ matrix.platform }}-buildcache - cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:${{ matrix.version }}-${{ matrix.platform }}-buildcache,mode=max + cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache-${{ matrix.version }}-${{ matrix.arch }} + cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache-${{ matrix.version }}-${{ matrix.arch }},mode=max - name: Export digest