oras_add_platform_archive()

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

Checks out an archive using oras.

Args

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