Set up your GitHub Actions workflow with a specific version of ORAS
Go to file
Lan bdadd7db88
bump: run with node20 (#25)
Node.js 16 actions are deprecated. Please update the following actions
to use Node.js 20: oras-project/setup-oras@v1.1.0. For more information
see:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Fixes #23

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-26 14:46:26 +08:00
.github build: update major and minor tags update publishing (#22) 2023-09-20 13:16:09 +08:00
dist chore: add 1.0.0 as a viable version (#20) 2023-09-13 15:02:25 +08:00
src chore: add 1.0.0 as a viable version (#20) 2023-09-13 15:02:25 +08:00
.gitignore feat: implement setup-oras (#1) 2023-01-21 01:05:00 +08:00
CODEOWNERS chore: add shizhMSFT to CODEOWNERS and OWNERS.md (#3) 2023-02-15 09:48:26 -06:00
CODE_OF_CONDUCT.md feat: implement setup-oras (#1) 2023-01-21 01:05:00 +08:00
LICENSE Initial commit 2023-01-18 11:45:53 +08:00
OWNERS.md chore: add shizhMSFT to CODEOWNERS and OWNERS.md (#3) 2023-02-15 09:48:26 -06:00
README.md docs: fix broken link in README (#13) 2023-04-28 13:31:58 +08:00
SECURITY.md doc: add SECURITY.md file (#16) 2023-08-31 10:06:24 +08:00
action.yml bump: run with node20 (#25) 2024-03-26 14:46:26 +08:00
package-lock.json chore: add 1.0.0 as a viable version (#20) 2023-09-13 15:02:25 +08:00
package.json refactor: revamp setup action with typescript (#18) 2023-09-08 16:01:37 +08:00
tsconfig.json refactor: revamp setup action with typescript (#18) 2023-09-08 16:01:37 +08:00

README.md

setup-oras

banner

Setup ORAS CLI on GitHub Actions runners.

Quick Start

Setup the oras CLI of the default version:

steps:
  - uses: oras-project/setup-oras@v1
  - 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@v1
    with:
      version: 1.0.0
  - run: oras version

Docs

Documentation for the ORAS CLI is located on the project website.

Code of Conduct

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