https://github.com/qxip/packagecloud-action
Push Packages to Packagecloud.io
https://github.com/qxip/packagecloud-action
Last synced: 11 months ago
JSON representation
Push Packages to Packagecloud.io
- Host: GitHub
- URL: https://github.com/qxip/packagecloud-action
- Owner: QXIP
- License: mit
- Created: 2023-08-17T16:34:48.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T16:41:29.000Z (almost 3 years ago)
- Last Synced: 2025-07-21T17:44:52.476Z (12 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PackageCloud docker action
This action will push packages to PackageCloud using the package_cloud gem.
## Inputs
### `repo`
**Required** The repo to push to.
### `dir`
**Required** Directory where the packages are. All rpms and debs found here will be pushed.
### `rpmvers`
**Required** Space separated list of RPM based distro versions to push to. The distro version strings are as per [packagecloud](https://packagecloud.io/docs/api#resource_packages_method_versions)
A default value is supplied if no argument is provided.
### `debvers`
**Required** Space separated list of Debian based distro versions to push to. The distro version strings are as per [packagecloud](https://packagecloud.io/docs/api#resource_packages_method_versions)
A default value is supplied if no argument is provided.
## Outputs
### `rpmout`
Stdout from the command execution for rpm packages
### `debout`
Stdout from the command execution for deb packages
## Example usage
```yaml
uses: qxip/packagecloud-action:V1
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
with:
repo: 'your/repository'
dir: 'dist'
```