c37235381f
* feat(deployment): package as Docker image & Helm Chart * remove erroneous permission request * fix corepack issue * fix prettier * deployment testing of helm chart with ctlptl, tilt & kind * fix linting * remove need for license to be mounted * ensure consistency in naming * incorporate copilot comments * fix CI pipeline * fix * incorporate copilot review comments * include MIXPANEL environment variable * remove single quotes from NODE_ENV ARG --------- Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
42 lines
943 B
YAML
42 lines
943 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- '[0-9]+.[0-9]+.[0-9]+'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true # other running workflows get cancelled on the same branch
|
|
|
|
permissions: {} # purposefully empty by default at workflow level, explicitly overridden for specific jobs below
|
|
|
|
jobs:
|
|
get-version:
|
|
uses: ./.github/workflows/get-version.yml
|
|
with: {}
|
|
secrets: {}
|
|
permissions:
|
|
contents: read
|
|
lint:
|
|
uses: ./.github/workflows/lint.yml
|
|
with: {}
|
|
secrets: {}
|
|
permissions:
|
|
contents: read
|
|
build:
|
|
uses: ./.github/workflows/build.yml
|
|
needs:
|
|
- get-version
|
|
- lint
|
|
with:
|
|
PUBLISH: true
|
|
IMAGE_VERSION_TAG: ${{ needs.get-version.outputs.IMAGE_VERSION_TAG }}
|
|
secrets: {}
|
|
permissions:
|
|
contents: read
|
|
packages: write # to be able to push images to ghcr.io
|