Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-up-circle

GitHub Action

Rancher Update Service

1.1.3

Rancher Update Service

arrow-up-circle

Rancher Update Service

An action for updating a service in the Rancher 2.x environment

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Rancher Update Service

uses: sekassel-research/[email protected]

Learn more about this action in sekassel-research/actions-rancher-update

Choose a version

rancher-update

This action helps by updating a service in the rancher 1.6.x environment.

Examples

Update service

  on:
  push:
    branches:
    - master

  jobs:
    release:
      runs-on: ubuntu-latest
      steps:
      - uses: sekassel-research/[email protected]
        with:
          rancher_url: https://rancher.test.de
          rancher_access: ${{ secrets.RANCHER_ACCESS }}
          rancher_key: ${{ secrets.RANCHER_KEY }}
          project_id: 1a5
          stack_name: test-stack
          service_name: test-service
          docker_image: sekassel-research/test-image:latest