| default = "registry.atmosphere.dev/library" |
| variable "CACHE_REGISTRY" { |
| default = "registry.atmosphere.dev/cache" |
| variable "PUSH_TO_CACHE" { |
| result = ["type=registry,ref=${CACHE_REGISTRY}/${image}"] |
| result = PUSH_TO_CACHE ? [format("%s,%s", cache_from(image)[0], "mode=max,image-manifest=true,oci-mediatypes=true,compression=zstd")] : [] |
| name = "barbican-${release.tgt}" |
| cache-from = cache_from("barbican:${release.name}") |
| cache-to = cache_to("barbican:${release.name}") |
| "${REGISTRY}/barbican:${release.name}", |
| "${REGISTRY}/barbican:${release.ref}" |
| ref = "a00fcade4138ffc52cd9c84b5999297966f019b5" |
| BRANCH = format("stable/%s", release.name) |
| BARBICAN_GIT_REF = release.ref |