Skip to content

feat: Implement the on branch workflow #1

feat: Implement the on branch workflow

feat: Implement the on branch workflow #1

Workflow file for this run

name: Build on branch
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build and deploy on pr
uses: docker://ghcr.io/nearform/k8s-kurated-addons-cli:latest
with:
args: onbranch --stop-on-push
env:
KKA_APP_NAME: k8s-kurated-addons-cli
KKA_PROJECT_DIRECTORY: .
KKA_REPO_NAME: ghcr.io/nearform
KKA_REGISTRY_USER: ${{ github.actor }}
KKA_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}