-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
35 lines (32 loc) · 910 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
variable "base_image" {
description = "The base image to build on top of."
default = "cgr.dev/chainguard/static:latest-glibc"
}
variable "base_image_policy" {
description = "The policy to verify the base image with."
default = <<EOF
apiVersion: policy.sigstore.dev/v1beta1
kind: ClusterImagePolicy
metadata:
name: base-policy
spec:
images:
- glob: "**"
authorities:
- keyless:
url: https://fulcio.sigstore.dev
identities:
- issuer: https://token.actions.githubusercontent.com
subject: https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main
ctlog:
url: https://rekor.sigstore.dev
EOF
}
variable "working_dir" {
description = "The working directory to build from."
type = string
}
variable "importpath" {
description = "The go import path to ko build."
type = string
}