oras_add_platform_archive()
def oras_add_platform_archive(name, url, artifact, tag, add_prefix, globs)Checks out an archive using oras.
Args
name-strName of the rule.url-strThe URL of the oras archive to download.artifact-strThe artifact name of the oras archive (platform will be appended to artifact name)tag-strThe tag of the oras archive.add_prefix-strThe prefix to add to the archive.globs-[str]List of globs to include/exclude.
oras_add_publish_archive()
def oras_add_publish_archive(name, url, artifact, tag, input, deps, deploy_repo, layer_info, suffix)Publishes an archive using oras.
Args
name-strName of the project to publish.url-strThe URL of the oras archive to publish.artifact-strThe artifact name of the oras archive.tag-strThe tag of the oras archive.input-strThe workspace path to the folder/file to archive and publish.deps-[str]Dependencies for the archive.deploy_repo-strThe deploy repository to publish the archive to.layer_info-strThe layer info of the archive.suffix-strThe suffix of the archive file (tar.gz, tar.xz, tar.bz2, zip).