Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
box

GitHub Action

setup-oras

v1.0.0

setup-oras

box

setup-oras

Setup ORAS CLI on GitHub Actions runners

Installation

Copy and paste the following snippet into your .yml file.

              

- name: setup-oras

uses: oras-project/[email protected]

Learn more about this action in oras-project/setup-oras

Choose a version

setup-oras

ORAS

Setup ORAS CLI on GitHub Actions runners.

Quick Start

Setup the oras CLI of the default version:

steps:
  - uses: oras-project/setup-oras@main
  - run: oras version

Advanced Usage

Install a specific version of the oras CLI by specifying the input version without the prefix v. Supported versions can be found at oras releases.

For example, install oras version v1.0.0.

steps:
  - uses: oras-project/setup-oras@main
    with:
      version: 1.0.0
  - run: oras version

Docs

Documentation for the ORAS CLI is located on the project website: oras.land/cli

Code of Conduct

This project has adopted the CNCF Code of Conduct. See CODE_OF_CONDUCT.md for further details.