Set up your GitHub Actions workflow with a specific version of ORAS
Go to file
Shiwei Zhang 550c1b01de
feat: implement setup-oras ()
Implement setup-oras as a JavaScript action

Resolves: https://github.com/oras-project/oras/issues/744
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
2023-01-21 01:05:00 +08:00
.github feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
dist feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
.gitignore feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
CODE_OF_CONDUCT.md feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
LICENSE Initial commit 2023-01-18 11:45:53 +08:00
README.md feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
action.yml feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
index.js feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
package-lock.json feat: implement setup-oras () 2023-01-21 01:05:00 +08:00
package.json feat: implement setup-oras () 2023-01-21 01:05:00 +08:00

README.md

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 v0.16.0.

steps:
  - uses: oras-project/setup-oras@main
    with:
      version: 0.16.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.