...
1"""Defines a provider for OCI push information
2
3Decoupled from push.bzl to resolve import cycle issues
4"""
5OCIPushInfo = provider(
6 doc = """Contains information about publishing a container to an OCI repository.
7
8This allows rules which depend on container pushing rules to access the
9reference for the pushed image.
10""",
11 fields = {
12 "repo": "File containing fully qualified OCI repository to push to.",
13 "digest": "File containing digest of the container to push.",
14 "ref": "File containing fully qualified reference of the container to push.",
15 "pusher": "Executable used to push container.",
16 "runfiles": "Runfiles for the pusher executable.",
17 },
18)
View as plain text