Skip to content

ci

ci #163

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches-ignore:
- "preview/**"
paths-ignore:
# - .github
# - .scripts
# - .charts
- kustomize
- LICENSE
- README.md
- build.sh
- build.ps1
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
jobs:
versioning:
uses: f2calv/gha-workflows/.github/workflows/gha-release-versioning.yml@v1
with:
tag-prefix: ''
tag-and-release: false
# app:
# uses: f2calv/gha-workflows/.github/workflows/app-build-dotnet.yml@v1
# needs: versioning
# with:
# fullSemVer: ${{ needs.versioning.outputs.fullSemVer }}
# image:
# uses: f2calv/gha-workflows/.github/workflows/container-image-build.yml@v1
# permissions:
# packages: write #for pushing container image
# contents: read #note: for private repos setting packages to write, will reset all other permissions to none (weird?)
# needs: [versioning, app]
# with:
# tag: ${{ needs.versioning.outputs.semVer }}
chart:
#uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@v1
uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@f2calv/2024-04-updates5
#needs: [versioning, app, image]
needs: [versioning]
with:
tag: ${{ needs.versioning.outputs.semVer }}
# release:
# needs: [versioning, app, image, chart]
# if: github.ref == 'refs/heads/main'
# uses: f2calv/gha-workflows/.github/workflows/gha-release-versioning.yml@v1
# permissions:
# contents: write
# with:
# semVer: ${{ needs.versioning.outputs.semVer }}
# tag-prefix: ''
# move-major-tag: false