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> |
||
---|---|---|
.github | ||
dist | ||
src | ||
.gitignore | ||
CODEOWNERS | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
OWNERS.md | ||
README.md | ||
SECURITY.md | ||
action.yml | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
setup-oras
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.