Files
werf-actions/build/README.md
Evgeniy Frolov f3a12bd69b chore(actions): set stable channel as default
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
2025-10-13 14:13:49 +01:00

1.1 KiB

___

The action combines all the necessary steps in itself and logic may be divided into environment setup and launching werf build.

Inputs

channel:
  description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
  default: 'stable'
  required: false
version:
  description: 'The certain version'
  required: false
github-token:
  description: 'The GitHub token used to login and to interact with Docker Github Packages'
  default: ${{ github.token }}
  required: false
kube-config-base64-data:
  description: 'Base64 encoded kubeconfig data used for deployment, cleanup and distributed locks'
  required: false

Example

build: 
  name: Build
  runs-on: ubuntu-latest
  steps:
  
    - name: Checkout code
      uses: actions/checkout@v4
      with:
        fetch-depth: 0

    - name: Build
      uses: werf/actions/build@v2
      with:
        kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}