use cache

This commit is contained in:
Elio Bischof
2025-06-16 23:20:13 +02:00
parent 6212810e20
commit 1e118ab073
2 changed files with 15 additions and 7 deletions

View File

@@ -9,15 +9,13 @@ jobs:
permissions:
contents: "read"
steps:
- uses: actions/checkout@v4
- name: Set up persistent Buildx builder
uses: docker/setup-buildx-action@v3
with:
install: true
use: true
- run: docker buildx du
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
- name: Build via Make
- name: Build
uses: docker/bake-action@v6
with:
push: false
- name: Run
run: make login-lint
- run: docker buildx du

View File

@@ -1,3 +1,13 @@
group "default" {
targets = [
"login-test-lint",
"login-test-unit",
"core-mock",
"login-test-integration",
"login-test-acceptance",
]
}
target "default" {
cache-from = ["type=gha"]
cache-to = ["type=gha,ignore-error=true,mode=max"]