mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 10:37:33 +00:00
use cache
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -12,7 +12,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
|
|
||||||
- name: Set up persistent Buildx builder
|
- name: Set up persistent Buildx builder
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@@ -20,7 +19,6 @@ jobs:
|
|||||||
install: true
|
install: true
|
||||||
driver: docker-container
|
driver: docker-container
|
||||||
use: true
|
use: true
|
||||||
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
id: pnpm-store-cache
|
id: pnpm-store-cache
|
||||||
@@ -45,7 +43,5 @@ jobs:
|
|||||||
set: |
|
set: |
|
||||||
*.cache-from=type=gha
|
*.cache-from=type=gha
|
||||||
*.cache-to=type=gha,mode=max
|
*.cache-to=type=gha,mode=max
|
||||||
*.output=type=docker
|
|
||||||
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
|
|
||||||
- name: Run
|
- name: Run
|
||||||
run: make login-lint
|
run: make login-lint
|
||||||
|
@@ -6,6 +6,7 @@ group "default" {
|
|||||||
|
|
||||||
target "login-pnpm" {
|
target "login-pnpm" {
|
||||||
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
|
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
|
||||||
|
output = ["type=docker"]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "login-dev-base" {
|
target "login-dev-base" {
|
||||||
@@ -13,6 +14,7 @@ target "login-dev-base" {
|
|||||||
contexts = {
|
contexts = {
|
||||||
login-pnpm = "target:login-pnpm"
|
login-pnpm = "target:login-pnpm"
|
||||||
}
|
}
|
||||||
|
output = ["type=docker"]
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "LOGIN_LINT_TAG" {
|
variable "LOGIN_LINT_TAG" {
|
||||||
@@ -25,6 +27,7 @@ target "login-lint" {
|
|||||||
login-dev-base = "target:login-dev-base"
|
login-dev-base = "target:login-dev-base"
|
||||||
}
|
}
|
||||||
tags = ["${LOGIN_LINT_TAG}"]
|
tags = ["${LOGIN_LINT_TAG}"]
|
||||||
|
output = ["type=docker"]
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "LOGIN_TEST_UNIT_TAG" {
|
variable "LOGIN_TEST_UNIT_TAG" {
|
||||||
|
Reference in New Issue
Block a user