Files
artifactapi/docs/generic/remote.md
T
unkin-agent 41035a1c4f
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
add common caching doc
2026-10-17 15:42:17 +11:00

584 B

generic remote

Shared classification, TTL and eviction rules: caching.

Type Mutable (auto-detected) Immutable (auto-detected)
generic nothing everything

Terraform

resource "artifactapi_remote_generic" "github" {
  name     = "github"
  base_url = "https://github.com"

  immutable_ttl = 0
  mutable_ttl   = 7200

  patterns = [
    "ducaale/xh/.*/xh-.*-x86_64-unknown-linux-musl.tar.gz$",
    "mikefarah/yq/.*/yq_linux_amd64$",
  ]

  mutable_patterns = [
    ".*/archive/refs/heads/.*\\.tar\\.gz$",
  ]
}