oras_add_platform_archive()

def oras_add_platform_archive(name, url, artifact, tag, add_prefix, globs)

Checks out an archive using oras.

Args

  • name - Name of the rule.
  • url - The URL of the oras archive to download.
  • artifact - The artifact name of the oras archive (platform will be appended to artifact name)
  • tag - The tag of the oras archive.
  • add_prefix - The prefix to add to the archive.
  • globs - 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 - Name of the project to publish.
  • url - The URL of the oras archive to publish.
  • artifact - The artifact name of the oras archive.
  • tag - The tag of the oras archive.
  • input - The workspace path to the folder/file to archive and publish.
  • deps - Dependencies for the archive.
  • deploy_repo - The deploy repository to publish the archive to.
  • layer_info - The layer info of the archive.
  • suffix - The suffix of the archive file (tar.gz, tar.xz, tar.bz2, zip).