added artifacts
This commit is contained in:
@@ -41,6 +41,9 @@ type Config struct {
|
||||
// PEM-encoded ECDSA P-256 private key. If empty an ephemeral key is generated.
|
||||
ArtifactSigningKey string
|
||||
|
||||
// OCI Registry
|
||||
OCIRoot string
|
||||
|
||||
// Dev
|
||||
Debug bool
|
||||
}
|
||||
@@ -67,6 +70,7 @@ func Load() (*Config, error) {
|
||||
|
||||
// Optional signing key
|
||||
cfg.ArtifactSigningKey = os.Getenv("ARTIFACT_SIGNING_KEY")
|
||||
cfg.OCIRoot = getEnv("OCI_ROOT", filepath.Join(filepath.Dir(cfg.RepoRoot), "oci"))
|
||||
|
||||
// Optional OIDC
|
||||
cfg.OIDCIssuer = os.Getenv("OIDC_ISSUER")
|
||||
|
||||
Reference in New Issue
Block a user