moritzheiber/Ruby Versions
Provides the latest available Ruby releases, either from ruby-lang.org or from a container repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | A container reference to inspect, e.g. 'library/ruby' or 'ghcr.io/acme/ruby-runtime'. Setting this switches the action into container-registry mode; when empty the latest releases are fetched from ruby-lang.org. | no | "" |
| suffixes | Comma-separated tag suffixes to treat as the base version in container-registry mode, e.g. 'slim,bookworm' | no | "" |
| username | Registry username for container-registry mode. Only used when both 'username' and 'password' are set. | no | "" |
| password | Registry password for container-registry mode. Only used when both 'username' and 'password' are set. | no | "" |
| version_name | The name for the Ruby release key in the metadata output (ruby-lang.org mode) | yes | version |
| url_name | The name for the URL key in the metadata output (ruby-lang.org mode) | yes | url |
| checksum_name | The name for the checksum key in the metadata output (ruby-lang.org mode) | yes | checksum |
Outputs
| name | description |
|---|---|
| versions | The available versions as a JSON array. In ruby-lang.org mode these are release versions; in container-registry mode these are the matching image tags. |
| metadata | The metadata associated with each release version, including the release version, URL to the release tarball and the checksum of the tarball. Only populated in ruby-lang.org mode. |