Skip to content

main

main #3

name: Build FIT performer
run-name: ${{ inputs.ref || github.ref_name }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'main'
- 'v*' # release branches, e.g. v1.0
tags:
- '*'
paths:
- 'performer/**'
- 'lib/**'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/build-performer.yml'
workflow_dispatch:
inputs:
ref:
type: string
description: "Performer version. Specify a branch, tag, full commit hash, GitHub PR like 'refs/pull/37/merge', or Gerrit PR like 'refs/changes/58/240858/6'"
required: true
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: couchbaselabs/sdk-docker-build-action@v1
with:
sdk: insights-node
ref: ${{ inputs.ref }}
dockerfile: performer/Dockerfile