--- upstreams: github: url: https://github.com/ github-api: url: https://api.github.com/ ghcr: url: https://ghcr.io/ tls: names: ["github.com", "api.github.com", "ghcr.io"] check: image: docker.io/homebrew/brew install_certs: ['tee', '-a', '/etc/ssl/certs/ca-certificates.crt'] register_hosts: - github.com - api.github.com - ghcr.io cmds: - HOMEBREW_NO_AUTO_UPDATE=1 brew install libsodium artifacts: upstream_bottle: type: url url: https://ghcr.io/v2/homebrew/core/libsodium/blobs/sha256:1ab2c66fc8ae6c1245b49c9bd7a32853c1b348afe7086d4c2d3baf5ea30bbac9 headers: authorization: "Bearer QQ==" upstream_manifest: type: url url: https://ghcr.io/v2/homebrew/core/libsodium/manifests/1.0.18_1 headers: authorization: "Bearer QQ==" accept: "application/vnd.oci.image.index.v1+json" routes: - host: github.com type: proxy args: upstream: github - host: api.github.com type: proxy args: upstream: github-api - path: /v2/homebrew/core/libsodium/manifests/1.0.18_1 host: ghcr.io type: static args: artifact: upstream_manifest headers: content-type: "application/vnd.oci.image.index.v1+json" - host: ghcr.io type: static args: path_template: "/v2/homebrew/core/libsodium/blobs/sha256:{{sha256}}" artifacts: - upstream_bottle - host: ghcr.io type: proxy args: upstream: ghcr - type: static args: status: 400 data: ''