--- upstreams: gcr: url: https://gcr.io/ tls: names: ["gcr.io", "example.com"] check: image: quay.io/podman/stable install_certs: ['tee', '-a', '/etc/ssl/certs/ca-certificates.crt'] register_hosts: # redirecting gcr.io to localhost breaks the auth-token retrieval from `https://gcr.io/v2/token` # use a different domain instead - example.com expose_fuse: true cmds: - "sudo -u podman podman run --rm example.com:${SH4D0WUP_BOUND_PORT}/google-containers/busybox echo hello world" artifacts: manifest_upstream: type: url url: https://gcr.io/v2/google-containers/busybox/manifests/latest oci_auth: url: https://gcr.io/v2/ scopes: - repository:google-containers/busybox:pull headers: Accept: application/vnd.docker.distribution.manifest.v1+json,application/vnd.docker.distribution.manifest.v1+prettyjws,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.oci.image.index.v1+json routes: - path: /v2/google-containers/busybox/manifests/latest type: static args: headers: Content-Type: application/vnd.docker.distribution.manifest.v1+prettyjws artifact: manifest_upstream - type: proxy args: upstream: gcr