From 9849e305edf97cdf1eb68e8eb84d97dab480ebdb Mon Sep 17 00:00:00 2001 From: xZero707 Date: Wed, 14 Sep 2022 02:14:24 +0200 Subject: [PATCH] Define gha scopes --- .github/workflows/image.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index d94a7af..0a463ae 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -42,5 +42,5 @@ jobs: files: build/docker-bake.hcl push: true set: | - *.cache-from=type=gha - *.cache-to=type=gha,mode=max \ No newline at end of file + *.cache-from=type=gha,scope=wordpress + *.cache-to=type=gha,scope=wordpress,mode=max \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d5d28c0..4beb91f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,8 +24,8 @@ jobs: id: build with: context: build/tests-util/ - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=gha,scope=tests + cache-to: type=gha,scope=tests,mode=max load: true tags: localhost/tests-util:latest