Skip to content

giautm/rancher-deploy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action for Github to deploy image in Rancher using Rancher API

Inputs

rancherUrlApi

Required API Url of your rancher project workload.

rancherAccessKey

Required API Access key created in Rancher.

rancherSecretKey

Required API Secret key created in Rancher.

serviceName

Required NAME OF YOUR SERVICE ON RANCHER CLUSTER WHAT YOU WANT DEPLOY.

namespaceId

Optional ID OF THE NAMESPACE.

Example usage

- name: Rancher Deploy
  uses: giautm/rancher-deploy-action@v0.1.11
  with:
    rancherUrlApi: ${{ secrets.RANCHER_URL_API }}
    rancherAccessKey: ${{ secrets.RANCHER_ACCESS_KEY}}
    rancherSecretKey: ${{ secrets.RANCHER_SECRET_KEY }}
    dockerImage: ${{ fromJSON(steps.docker-meta.outputs.json).tags[0] }}
    serviceName: 'myProject'
    namespaceId: 'xxxxxxxx'

About

Action do deploy (redeploy) image on Rancher

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%