https://github.com/hatamiarash7/ar-paas-action
ArvanCloud PaaS/CaaS Action
https://github.com/hatamiarash7/ar-paas-action
action actions arvan arvancloud deployment github paas
Last synced: 12 days ago
JSON representation
ArvanCloud PaaS/CaaS Action
- Host: GitHub
- URL: https://github.com/hatamiarash7/ar-paas-action
- Owner: hatamiarash7
- License: gpl-3.0
- Created: 2022-08-07T06:28:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T00:52:27.000Z (10 months ago)
- Last Synced: 2025-04-18T10:22:52.284Z (17 days ago)
- Topics: action, actions, arvan, arvancloud, deployment, github, paas
- Language: Shell
- Homepage:
- Size: 112 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ArvanCloud PaaS/CaaS Action


With this action you can update your deployment on ArvanCloud PaaS/CaaS.
## Usage
```yaml
- name: R1C Action
uses: hatamiarash7/[email protected]
with:
region: 1
auth: ${{ secrets.API_TOKEN }}
app: my-application
container: proxy
image: nginx:1.23.1-alpine
```> You can use the `debug` branch to see more logs. It's `hatamiarash7/ar-paas-action@debug`.
## Customizing
Following inputs can be used as `with` keys
| Name | Type | Default | Description |
| ----------- | -------- | ------- | ------------------------------------------------------------------------------ |
| `region` | | `1` | Your Arvancloud Region |
| `auth` | Required | | Your API token |
| `namespace` | | | The target namespace ( project ). Will be the default project if not specified |
| `app` | Required | | Application's name in your PaaS project |
| `container` | Required | | The container that you want to update its image |
| `image` | Required | | Docker image like `org/image:tag` |
| `version` | | `1.3.6` | Version of ArvanCloud CLI tool |### Region
We have 2 regions in ArvanCloud PaaS/CaaS for now:
- `1` for `ir-thr-ba1` ( Openshift )
- `2` for `ir-thr-ba2` ( Kubernetes )### Authentication
You should get your API key from `ArvanCloud Dashboard > Settings > API keys`. You need a key with **Container Service** permission.
Define this key as a `Repository/Organization` secret.
Check [ArvanCloud Documentation](https://docs.arvancloud.ir/en/developer-tools/api/api-key) for more information.
---
## Support
[](https://en.cryptobadges.io/donate/3GhT2ABRuHuXGNzP6DH5KvLZRTXCBKkx2y) [](https://en.cryptobadges.io/donate/0x4832fd8e2cfade141dc4873cc00cf77de604edde)
[](https://ko-fi.com/D1D1WGU9)
## Contributing
Don't be shy and reach out to us if you want to contribute.
1. Fork it !
2. Create your feature branch : `git checkout -b my-new-feature`
3. Commit your changes : `git commit -am 'Add some feature'`
4. Push to the branch : `git push origin my-new-feature`
5. Submit a pull request## Issues
Each project may have many problems. Contributing to the better development of this project by reporting them.