Define gha scopes

This commit is contained in:
Aleksandar Puharic 2022-09-14 02:14:24 +02:00
parent b3d508f391
commit 9849e305ed
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB
2 changed files with 4 additions and 4 deletions

View File

@ -42,5 +42,5 @@ jobs:
files: build/docker-bake.hcl
push: true
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
*.cache-from=type=gha,scope=wordpress
*.cache-to=type=gha,scope=wordpress,mode=max

View File

@ -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