ar-paas-action

ArvanCloud PaaS/CaaS Action

GPL-3.0 License

Stars
12
Committers
3

ArvanCloud PaaS/CaaS Action

With this action you can update your deployment on ArvanCloud PaaS/CaaS.

Usage

- 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 for more information.


Support

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.

Package Rankings
Top 24.11% on Github actions
Badges
Extracted from project README
Donate with Bitcoin Donate with Ethereum ko-fi