Skip to content
upload-cloud

GitHub Action

Coswarm Action

v0.3 Latest version

Coswarm Action

upload-cloud

Coswarm Action

Coswarm app update action. This action will update the app. If request not success,then we create issue about the error

Installation

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

              

- name: Coswarm Action

uses: coswarm/coswarm-action@v0.3

Learn more about this action in coswarm/coswarm-action

Choose a version

Coswarm Action

Action is a tool for new app image deployment on the Coswarm platform.

Getting Started

  • Set your Coswarm server
  • Create CSW_URL and CSW_APP_ID environment variables
  • If you want to use a custom image registry, create REGISTRY_URL , REGISTRY_USERNAME and REGISTRY_PASSWORD environment variables
name: Coswarm Deploy

on:
  release:
    types: [published]

jobs:
  coswarm-deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: coswarm/action-coswarm
        with:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
          CSW_URL: ${{secrets.CSW_URL}}
          CSW_APP_ID: ${{secrets.CSW_URL}}
          IMAGE_NAME: <image_name example: "coswarm/coswarm-next:latest">
          REGISTRY_URL: ${{secrets.REGISTRY_URL}}
          REGISTRY_USERNAME: ${{secrets.REGISTRY_USERNAME}}
          REGISTRY_PASSWORD: ${{secrets.REGISTRY_PASSWORD}}
          CREATE_SUCCESS_ISSUE: < true | false >
          CREATE_FAILURE_ISSUE: < true | false >